diff options
| author | Rageking8 <tomleetyt@gmail.com> | 2022-10-14 00:25:34 +0800 |
|---|---|---|
| committer | Rageking8 <tomleetyt@gmail.com> | 2022-10-14 12:57:56 +0800 |
| commit | 7122abaddf2cf10ce26f86305ff540ae5b38c097 (patch) | |
| tree | 0b15091f50495c8af2c553c1efee8cd286506a4f /compiler/rustc_middle/src/mir/interpret/pointer.rs | |
| parent | 4891d57f7aab37b5d6a84f2901c0bb8903111d53 (diff) | |
| download | rust-7122abaddf2cf10ce26f86305ff540ae5b38c097.tar.gz rust-7122abaddf2cf10ce26f86305ff540ae5b38c097.zip | |
more dupe word typos
Diffstat (limited to 'compiler/rustc_middle/src/mir/interpret/pointer.rs')
| -rw-r--r-- | compiler/rustc_middle/src/mir/interpret/pointer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/pointer.rs b/compiler/rustc_middle/src/mir/interpret/pointer.rs index 95e52e391d8..23c2ce6474c 100644 --- a/compiler/rustc_middle/src/mir/interpret/pointer.rs +++ b/compiler/rustc_middle/src/mir/interpret/pointer.rs @@ -43,7 +43,7 @@ pub trait PointerArithmetic: HasDataLayout { let val = val as i64; // Now wrap-around into the machine_isize range. if val > self.machine_isize_max() { - // This can only happen the the ptr size is < 64, so we know max_usize_plus_1 fits into + // This can only happen if the ptr size is < 64, so we know max_usize_plus_1 fits into // i64. debug_assert!(self.pointer_size().bits() < 64); let max_usize_plus_1 = 1u128 << self.pointer_size().bits(); |
