We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 690332a commit 4085b48Copy full SHA for 4085b48
compiler/rustc_serialize/src/opaque.rs
@@ -437,10 +437,10 @@ impl IntEncodedWithFixedSize {
437
impl Encodable<FileEncoder> for IntEncodedWithFixedSize {
438
#[inline]
439
fn encode(&self, e: &mut FileEncoder) {
440
- let _start_pos = e.position();
+ let start_pos = e.position();
441
e.write_array(self.0.to_le_bytes());
442
- let _end_pos = e.position();
443
- debug_assert_eq!((_end_pos - _start_pos), IntEncodedWithFixedSize::ENCODED_SIZE);
+ let end_pos = e.position();
+ debug_assert_eq!((end_pos - start_pos), IntEncodedWithFixedSize::ENCODED_SIZE);
444
}
445
446
0 commit comments