Interpolation
Since Rust 1.58
examples/intro/interpolation/src/main.rs
fn main() { let name = "Foo"; println!("Hello {name}, how are you?"); }
Hello Foo, how are you?
Since Rust 1.58
fn main() { let name = "Foo"; println!("Hello {name}, how are you?"); }
Hello Foo, how are you?