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

Overview

Format a string using a format specifier.

Examples

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