Skip to content

Commit a90cdcc

Browse files
committed
this is for tidy
1 parent d01ef7d commit a90cdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/value.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl<Tag: fmt::Debug, Id: fmt::Debug> fmt::Debug for Scalar<Tag, Id> {
126126
assert_eq!(truncate(bits, Size::from_bytes(size as u64)), bits,
127127
"Scalar value {:#x} exceeds size of {} bytes", bits, size);
128128
// Format as hex number wide enough to fit any value of the given `size`.
129-
// So e.g. bits=20, size=1 will be "0x14", but with size=4 it'll be "0x00000014".
129+
// So bits=20, size=1 will be "0x14", but with size=4 it'll be "0x00000014".
130130
write!(f, "0x{:>0width$x}", bits, width=(size*2) as usize)
131131
}
132132
}

0 commit comments

Comments
 (0)