Macro string

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

Creates a new string instance.

§Arguments

  • expr - The expression to initialize the string.

§Returns

  • String - A new string containing the given value.