mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
10 lines
272 B
Text
10 lines
272 B
Text
error: using `writeln!(v, "")`
|
|
--> $DIR/writeln_empty_string.rs:9:5
|
|
|
|
|
9 | writeln!(&mut v, "");
|
|
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `writeln!(v)`
|
|
|
|
|
= note: `-D write-with-newline` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|