Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 5f087f0

Browse files
oli-obkRalfJung
andauthored
Update compiler/rustc_target/src/abi/mod.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 6e6c8a8 commit 5f087f0

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/abi

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/abi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl Size {
319319
// Sign-extend it.
320320
let shift = 128 - size;
321321
// Shift the unsigned value to the left, then shift back to the right as signed
322-
// (essentially fills with FF on the left).
322+
// (essentially fills with sign bit on the left).
323323
(((value << shift) as i128) >> shift) as u128
324324
}
325325

0 commit comments

Comments
 (0)