fix: change error println to eprintln
This commit is contained in:
1 parent
e8d011b476
commit
8cf6f60e93
1 file changed
+1
-1
@@ -57,7 +57,7 @@ impl Autoformat {
|
|||||||
println!("formatted {}", file);
|
println!("formatted {}", file);
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("failed to write formatted content to file: {}", e);
|
eprintln!("failed to write formatted content to file: {}", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user