Skip to content

Commit 4085b48

Browse files
committed
Fix used_underscore_binding in rustc_serialize
1 parent 690332a commit 4085b48

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎compiler/rustc_serialize/src/opaque.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ impl IntEncodedWithFixedSize {
437437
implEncodable<FileEncoder>forIntEncodedWithFixedSize{
438438
#[inline]
439439
fnencode(&self,e:&mutFileEncoder){
440-
let_start_pos = e.position();
440+
letstart_pos = e.position();
441441
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);
442+
letend_pos = e.position();
443+
debug_assert_eq!((end_pos - start_pos),IntEncodedWithFixedSize::ENCODED_SIZE);
444444
}
445445
}
446446

0 commit comments

Comments
 (0)