]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/listings/ch15-smart-pointers/listing-15-11/src/main.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / doc / book / listings / ch15-smart-pointers / listing-15-11 / src / main.rs
index b73ad89c257d4f0385cb9a89158e0652c7f7a6c8..77a88c91f5230c051782909abf0f9be13bef6e1c 100644 (file)
@@ -1,6 +1,6 @@
 // ANCHOR: here
 fn hello(name: &str) {
-    println!("Hello, {}!", name);
+    println!("Hello, {name}!");
 }
 // ANCHOR_END: here