摘要:
#[allow(unused_macros)] macro_rules! unless { ($arg:expr,$branch:expr) => { if !$arg {$branch}; }; } fn main() { println!("Hello, world!"); unless!(2> 阅读全文
posted @ 2019-07-15 16:35 DotNet1010 阅读(276) 评论(0) 推荐(0)
|
|
|
|
摘要:
#[allow(unused_macros)] macro_rules! unless { ($arg:expr,$branch:expr) => { if !$arg {$branch}; }; } fn main() { println!("Hello, world!"); unless!(2> 阅读全文
posted @ 2019-07-15 16:35 DotNet1010 阅读(276) 评论(0) 推荐(0) |
|