mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:34 +00:00
Run cargo fmt
This commit is contained in:
1 parent
564cf64b1b
commit
dd601e4792
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -434,7 +434,9 @@ fn run() -> Result<()> {
|
||||
)
|
||||
};
|
||||
|
||||
let little_endian_dump = *matches.get_one::<bool>("little_endian_dump").unwrap_or(&false);
|
||||
let little_endian_dump = *matches
|
||||
.get_one::<bool>("little_endian_dump")
|
||||
.unwrap_or(&false);
|
||||
let stdout = io::stdout();
|
||||
let mut stdout_lock = BufWriter::new(stdout.lock());
|
||||
|
||||
|
||||
+1
-1
@@ -543,7 +543,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
|
||||
let remaining = n - idx;
|
||||
let total = remaining.min(group_sz);
|
||||
|
||||
buf[idx..idx+total].reverse();
|
||||
buf[idx..idx + total].reverse();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user