macro

// #[cfg(feature = "xxx")]  
// #[cfg(not(feature = "xxx"))]
// #![allow(clippy::too_many_arguments)]  
// #![allow(clippy::or_fun_call)]  
// #![allow(clippy::option_map_unit_fn)]  
// #![allow(clippy::from_over_into)]  
// #![allow(clippy::single_match)]  
// #![allow(clippy::new_without_default)]

Macros in Rust: A tutorial with examples - LogRocket Blog

最后更新于