mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
Remove old as_char implementation
This commit is contained in:
1 parent
29e3350e69
commit
e363f2fdc4
1 file changed
-8
@@ -117,14 +117,6 @@ impl Byte {
|
|||||||
},
|
},
|
||||||
CharacterTable::CP437 => CP437[self.0.to_ne_bytes()[0] as usize],
|
CharacterTable::CP437 => CP437[self.0.to_ne_bytes()[0] as usize],
|
||||||
}
|
}
|
||||||
// match self.category() {
|
|
||||||
// Null => '⋄',
|
|
||||||
// AsciiPrintable => self.0 as char,
|
|
||||||
// AsciiWhitespace if self.0 == 0x20 => ' ',
|
|
||||||
// AsciiWhitespace => '_',
|
|
||||||
// AsciiOther => '•',
|
|
||||||
// NonAscii => '×',
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user