about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2020-11-04 15:12:44 +0100
committerGitHub <noreply@github.com>2020-11-04 15:12:44 +0100
commit5f087f089f03c648527ac77a32bcb202c981bb57 (patch)
tree79fdb94bd85817cf5bbae97319169962ca241287
parent6e6c8a86e9f70b3be955716002d3af681039e7b8 (diff)
downloadrust-5f087f089f03c648527ac77a32bcb202c981bb57.tar.gz
rust-5f087f089f03c648527ac77a32bcb202c981bb57.zip
Update compiler/rustc_target/src/abi/mod.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
-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
     }