]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/format.fixed
Rollup merge of #78769 - est31:remove_lifetimes, r=KodrAus
[rust.git] / src / tools / clippy / tests / ui / format.fixed
index 306514769990d82edde8ff07ebe1780c625cb061..740a22a07d747c5dc409fea811cf27afb96e5468 100644 (file)
@@ -13,7 +13,8 @@ fn main() {
     "foo".to_string();
     "{}".to_string();
     "{} abc {}".to_string();
-    "foo {}\n\" bar".to_string();
+    r##"foo {}
+" bar"##.to_string();
 
     "foo".to_string();
     format!("{:?}", "foo"); // Don't warn about `Debug`.