摘要:
#[cfg(debug_assertions)] macro_rules! debug { () => (std::println!()); ($($arg:tt)*) => ({ println!($($arg)*); }) } #[cfg(not(debug_assertions))] macr 阅读全文
posted @ 2021-02-10 15:19 DotNet1010 阅读(939) 评论(0) 推荐(0) 编辑
|
|
摘要:
#[cfg(debug_assertions)] macro_rules! debug { () => (std::println!()); ($($arg:tt)*) => ({ println!($($arg)*); }) } #[cfg(not(debug_assertions))] macr 阅读全文
posted @ 2021-02-10 15:19 DotNet1010 阅读(939) 评论(0) 推荐(0) 编辑 |
|