mirror of https://github.com/Y2Z/monolith
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
142 B
Rust
10 lines
142 B
Rust
5 years ago
|
#[macro_export]
|
||
|
macro_rules! str {
|
||
|
() => {
|
||
|
String::new()
|
||
|
};
|
||
|
($val: expr) => {
|
||
|
ToString::to_string(&$val)
|
||
|
};
|
||
|
}
|