diff options
| author | Urgau <urgau@numericable.fr> | 2024-10-03 15:05:23 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2024-10-04 14:06:48 +0200 |
| commit | 018ba0528fa5d22712397e520351295f8582a525 (patch) | |
| tree | 1c1520315d2b4c41b3a57d9fc9929e27916a0ce0 /compiler/stable_mir/src | |
| parent | f7c8928f035370be33463bb7f1cd1aeca2c5f898 (diff) | |
| download | rust-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.rs | 6 |
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, } |
