]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/write_with_newline.rs
Rollup merge of #78769 - est31:remove_lifetimes, r=KodrAus
[rust.git] / src / tools / clippy / tests / ui / write_with_newline.rs
index 93afd73d1114d257998089f1c683bfa090c06458..1c1b1b58402e830393a9f2e57a43918d414f6f85 100644 (file)
@@ -14,6 +14,7 @@ fn main() {
     write!(&mut v, "Hello {}\n", "world");
     write!(&mut v, "Hello {} {}\n", "world", "#2");
     write!(&mut v, "{}\n", 1265);
+    write!(&mut v, "\n");
 
     // These should be fine
     write!(&mut v, "");