Inline StdoutLock variable

This commit is contained in:
Sharif Haason authored and David Peter committed 2022-11-13 22:15:41 +01:00
1 parent 74a5e4bc84
commit 166c2cc46b
1 file changed
+1 -2
+1 -2
View File
@@ -332,8 +332,7 @@ fn run() -> Result<(), AnyhowError> {
2
};
let stdout = io::stdout();
let mut stdout_lock = BufWriter::new(stdout.lock());
let mut stdout_lock = BufWriter::new(io::stdout().lock());
let mut printer = PrinterBuilder::new(&mut stdout_lock)
.show_color(show_color)