about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_target/src/abi/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/abi/mod.rs b/compiler/rustc_target/src/abi/mod.rs
index 12cdd5c169a..55ace982d72 100644
--- a/compiler/rustc_target/src/abi/mod.rs
+++ b/compiler/rustc_target/src/abi/mod.rs
@@ -319,7 +319,7 @@ impl Size {
         // Sign-extend it.
         let shift = 128 - size;
         // Shift the unsigned value to the left, then shift back to the right as signed
-        // (essentially fills with FF on the left).
+        // (essentially fills with sign bit on the left).
         (((value << shift) as i128) >> shift) as u128
     }