Macro collections::format1.0.0 [] [src]

macro_rules! format {
    ($($arg:tt)*) => { ... };
}
1.0.0

Use the syntax described in std::fmt to create a value of type String. See std::fmt for more information.

Examples

format!("test");
format!("hello {}", "world!");
format!("x = {}, y = {y}", 10, y = 30);Run