We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6c8a8 commit 5f087f0Copy full SHA for 5f087f0
compiler/rustc_target/src/abi/mod.rs
@@ -319,7 +319,7 @@ impl Size {
319
// Sign-extend it.
320
let shift = 128 - size;
321
// Shift the unsigned value to the left, then shift back to the right as signed
322
- // (essentially fills with FF on the left).
+ // (essentially fills with sign bit on the left).
323
(((value << shift) as i128) >> shift) as u128
324
}
325
0 commit comments