mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-16 05:58:41 +00:00
Fix test
This commit is contained in:
parent
df73348354
commit
be40d82fea
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ error: using `write!()` with a format string that ends in a single newline, cons
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
||||||
--> $DIR/write_with_newline.rs:44:5
|
--> $DIR/write_with_newline.rs:41:5
|
||||||
|
|
|
|
||||||
44 | write!(&mut v, "//n");
|
41 | write!(&mut v, "//n");
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error: aborting due to 5 previous errors
|
error: aborting due to 5 previous errors
|
||||||
|
|
Loading…
Add table
Reference in a new issue