s

Macro s 

Source
macro_rules! s {
    ($arg:expr) => { ... };
}
Expand description

Makes the string argument a String, by using String::from() (see String for details).

ยงExample

let text: String = s!("Hello");