mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +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
|
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)
|
let mut printer = PrinterBuilder::new(&mut stdout_lock)
|
||||||
.show_color(show_color)
|
.show_color(show_color)
|
||||||
|
|||||||
Reference in new issue
Block a user