mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
Use u8/usize directly without references
This commit is contained in:
1 parent
3390bedee9
commit
a2ea80e960
2 files changed
+11
-11
No files matched your search
+1
-1
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user