Fix clippy warnings

This commit is contained in:
Stephen Seo 2022-12-11 21:59:58 +09:00
parent d34e597360
commit 9096a890be

View file

@ -61,8 +61,7 @@ fn main() {
let mut stderr_handle = io::stderr().lock();
stderr_handle
.write_all(
format!("WARNING: Invalid value passed to --netdev_width=..., ignoring...\n")
.as_bytes(),
"WARNING: Invalid value passed to --netdev_width=..., ignoring...\n".as_bytes(),
)
.ok();
}
@ -78,9 +77,7 @@ fn main() {
let mut stderr_handle = io::stderr().lock();
stderr_handle
.write_all(
format!(
"WARNING: Invalid value passed to --netgraph_max_bytes=..., ignoring...\n"
)
.as_bytes(),
)
.ok();