macro_rules! string {
    () => { ... };
    ($s:expr) => { ... };
}Expand description
Creates a new String instance.
This macro can be used in two forms:
- Without arguments, it creates an empty String.
- With a string literal or expression, it creates a Stringinitialized with the provided value.
ยงExamples
use std_macro_extensions::*;
let empty_string = string!();
let hello_string = string!("Hello");