Run cargo fmt

This commit is contained in:
David Peter authored and David Peter committed 2023-04-21 21:28:52 +02:00
1 parent 564cf64b1b
commit dd601e4792
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -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
View File
@@ -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();
}
}