qryxip / cargo-equip

A Cargo subcommand to bundle your code into one `.rs` file for competitive programming
Apache License 2.0
76 stars 10 forks source link

`#[cfg_attr(rustfmt,rustfmt::skip)]` → `#[cfg_attr(any(), rustfmt::skip)]` #108

Closed qryxip closed 3 years ago

qryxip commented 3 years ago
-#[allow(clippy::deprecated_cfg_attr)]#[cfg_attr(rustfmt,rustfmt::skip)]#[allow(unused)]pub mod lib{/* ... */}
+                                     #[cfg_attr(any()  ,rustfmt::skip)]#[allow(unused)]pub mod lib{/* ... */}