@zkat__ ("kat marchán") wrote:
omg omg omg
with quote tweet:
🆕🦀 A new exciting @rustlang feature coming up in Rust 1.58: format argument capturing! 🎉✨
Starting in Rust 1.58, which will be released as stable on January 13, you can refer to variables from within format strings:
let name = "world";
println!("Hello, {name}!");Examples:



