We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f087f0 commit 332750fCopy full SHA for 332750f
compiler/rustc_target/src/abi/mod.rs
@@ -307,7 +307,7 @@ impl Size {
307
if bytes < dl.obj_size_bound() { Some(Size::from_bytes(bytes)) } else { None }
308
}
309
310
- /// Truncates `value` to `self` bits and then sign-extend it to 128 bits
+ /// Truncates `value` to `self` bits and then sign-extends it to 128 bits
311
/// (i.e., if it is negative, fill with 1's on the left).
312
#[inline]
313
pub fn sign_extend(self, value: u128) -> u128 {
0 commit comments