cargo fmt

This commit is contained in:
Domenico Mastrangelo 2024-06-01 22:53:31 +02:00
parent 9523e40179
commit 76832effd0

View File

@ -165,7 +165,8 @@ impl<'a> Printer for SimplePrinter<'a> {
} else {
match handle {
OutputHandle::IoWrite(handle) => {
if self.config.style_components.numbers() && !std::io::stdout().is_terminal()
if self.config.style_components.numbers()
&& !std::io::stdout().is_terminal()
{
handle.write_all(
format!("{line_number:4} {}", String::from_utf8_lossy(line_buffer))