macro_rules! USER {
($user:ident:$group:ident) => { ... };
($user:ident) => { ... };
}Expand description
let user = USER!(rustacean);
assert_eq!(user.to_string(), r#"USER rustacean"#);macro_rules! USER {
($user:ident:$group:ident) => { ... };
($user:ident) => { ... };
}let user = USER!(rustacean);
assert_eq!(user.to_string(), r#"USER rustacean"#);