Fix clippy warnings
This commit is contained in:
parent
d34e597360
commit
9096a890be
1 changed files with 3 additions and 6 deletions
|
@ -61,8 +61,7 @@ fn main() {
|
||||||
let mut stderr_handle = io::stderr().lock();
|
let mut stderr_handle = io::stderr().lock();
|
||||||
stderr_handle
|
stderr_handle
|
||||||
.write_all(
|
.write_all(
|
||||||
format!("WARNING: Invalid value passed to --netdev_width=..., ignoring...\n")
|
"WARNING: Invalid value passed to --netdev_width=..., ignoring...\n".as_bytes(),
|
||||||
.as_bytes(),
|
|
||||||
)
|
)
|
||||||
.ok();
|
.ok();
|
||||||
}
|
}
|
||||||
|
@ -78,9 +77,7 @@ fn main() {
|
||||||
let mut stderr_handle = io::stderr().lock();
|
let mut stderr_handle = io::stderr().lock();
|
||||||
stderr_handle
|
stderr_handle
|
||||||
.write_all(
|
.write_all(
|
||||||
format!(
|
|
||||||
"WARNING: Invalid value passed to --netgraph_max_bytes=..., ignoring...\n"
|
"WARNING: Invalid value passed to --netgraph_max_bytes=..., ignoring...\n"
|
||||||
)
|
|
||||||
.as_bytes(),
|
.as_bytes(),
|
||||||
)
|
)
|
||||||
.ok();
|
.ok();
|
||||||
|
|
Loading…
Reference in a new issue