]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/writeln_empty_string.rs
iterate List by value
[rust.git] / tests / ui / writeln_empty_string.rs
index faccfd8291c0c29a96ba3c818357e8c6b27fd057..9a8894b6c0d3285b2a3a07ed6b7ecdaec4094658 100644 (file)
@@ -1,5 +1,7 @@
+// run-rustfix
+
 #![allow(unused_must_use)]
-#![warn(writeln_empty_string)]
+#![warn(clippy::writeln_empty_string)]
 use std::io::Write;
 
 fn main() {
@@ -15,5 +17,4 @@ fn main() {
     writeln!(&mut v);
     writeln!(&mut v, " ");
     write!(&mut v, "");
-
 }