10 lines
142 B
Rust
10 lines
142 B
Rust
|
#[macro_export]
|
||
|
macro_rules! str {
|
||
|
() => {
|
||
|
String::new()
|
||
|
};
|
||
|
($val: expr) => {
|
||
|
ToString::to_string(&$val)
|
||
|
};
|
||
|
}
|