about summary refs log tree commit diff
path: root/compiler/stable_mir/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-10-03 15:05:23 +0200
committerUrgau <urgau@numericable.fr>2024-10-04 14:06:48 +0200
commit018ba0528fa5d22712397e520351295f8582a525 (patch)
tree1c1520315d2b4c41b3a57d9fc9929e27916a0ce0 /compiler/stable_mir/src
parentf7c8928f035370be33463bb7f1cd1aeca2c5f898 (diff)
downloadrust-018ba0528fa5d22712397e520351295f8582a525.tar.gz
rust-018ba0528fa5d22712397e520351295f8582a525.zip
Use wide pointers consistenly across the compiler
Diffstat (limited to 'compiler/stable_mir/src')
-rw-r--r--compiler/stable_mir/src/mir/body.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/stable_mir/src/mir/body.rs b/compiler/stable_mir/src/mir/body.rs
index ab9fc218d19..9f4db7e4833 100644
--- a/compiler/stable_mir/src/mir/body.rs
+++ b/compiler/stable_mir/src/mir/body.rs
@@ -946,10 +946,10 @@ pub enum PointerCoercion {
     ArrayToPointer,
 
     /// Unsize a pointer/reference value, e.g., `&[T; n]` to
-    /// `&[T]`. Note that the source could be a thin or fat pointer.
-    /// This will do things like convert thin pointers to fat
+    /// `&[T]`. Note that the source could be a thin or wide pointer.
+    /// This will do things like convert thin pointers to wide
     /// pointers, or convert structs containing thin pointers to
-    /// structs containing fat pointers, or convert between fat
+    /// structs containing wide pointers, or convert between wide
     /// pointers.
     Unsize,
 }