cargo clippy warning

This commit is contained in:
Mikhail Katychev authored and David Peter committed 2022-05-22 21:34:26 +02:00
1 parent a4ed50e1f0
commit 5d92f07e21
2 files changed
+1 -18

No files matched your search

+1 -1
View File
@@ -481,7 +481,7 @@ mod tests {
use super::*;
fn assert_print_all_output<Reader: Read>(input: Reader, expected_string: String) -> () {
fn assert_print_all_output<Reader: Read>(input: Reader, expected_string: String) {
let mut output = vec![];
let mut printer = Printer::new(&mut output, false, true, true, BorderStyle::Unicode, true);
-17
View File
@@ -270,21 +270,4 @@ mod display_settings {
└─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
);
}
// #[test]
// fn display_offset_and_skip() {
// hexyl()
// .arg("hello_world_elf64")
// .arg("--color=never")
// .arg("--display-offset=0x20")
// .arg("--skip=0x10")
// .arg("--length=0x10")
// .assert()
// .success()
// .stdout(
// "┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐\n\
// │00000030│ 02 00 3e 00 01 00 00 00 ┊ 00 10 40 00 00 00 00 00 │•0>0•000┊0•@00000│\n\
// └────────┴─────────────────────────┴─────────────────────────┴────────┴────────┘\n",
// );
// }
}