mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
Undo inlining to satisfy MSRV
This commit is contained in:
1 parent
166c2cc46b
commit
966421c522
1 file changed
+2
-1
+2
-1
@@ -332,7 +332,8 @@ fn run() -> Result<(), AnyhowError> {
|
||||
2
|
||||
};
|
||||
|
||||
let mut stdout_lock = BufWriter::new(io::stdout().lock());
|
||||
let stdout = io::stdout();
|
||||
let mut stdout_lock = BufWriter::new(stdout.lock());
|
||||
|
||||
let mut printer = PrinterBuilder::new(&mut stdout_lock)
|
||||
.show_color(show_color)
|
||||
|
||||
Reference in new issue
Block a user