Macro ::std::fmt::format!(..)

Format a string using a format specifier.

Examples

let who = "World";
let string = format!("Hello {}", who);
assert_eq!(string, "Hello World");