Use u8/usize directly without references

This commit is contained in:
sharkdp committed 2019-04-13 18:32:59 +02:00
1 parent 3390bedee9
commit a2ea80e960
2 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -272,7 +272,7 @@ impl<'a> Printer<'a> {
write!(&mut self.buffer_line, "{}", self.byte_hex_table[b as usize])?;
self.raw_line.push(b);
self.squeezer.process(&b, &self.idx);
self.squeezer.process(b, self.idx);
match self.idx % 16 {
8 => {