macro_rules! CMD {
($($x:expr), +) => { ... };
}Expand description
let cmd = CMD!["echo", "Hello, world!"];
assert_eq!(cmd.to_string(), r#"CMD ["echo", "Hello, world!"]"#);macro_rules! CMD {
($($x:expr), +) => { ... };
}let cmd = CMD!["echo", "Hello, world!"];
assert_eq!(cmd.to_string(), r#"CMD ["echo", "Hello, world!"]"#);