]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/listings/ch08-common-collections/listing-08-16/src/main.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / doc / book / listings / ch08-common-collections / listing-08-16 / src / main.rs
index 8938dc143bba4e3c7489e701415f3b225b8f9b26..db57cddba307f89464d8f01b9512ab08545445fb 100644 (file)
@@ -3,6 +3,6 @@ fn main() {
     let mut s1 = String::from("foo");
     let s2 = "bar";
     s1.push_str(s2);
-    println!("s2 is {}", s2);
+    println!("s2 is {s2}");
     // ANCHOR_END: here
 }