rust/clippy_utils
dswij 2d037aa4a6 Check for no_std and no_core attribute in swap lint
This commit adds a `no_std` and `no_core` check on `swap` lint and additionally suggest `core::mem::swap` whenever possible.
Remove warning if both `std` and `core` is not present.
2021-11-11 12:30:07 +08:00
..
src Check for no_std and no_core attribute in swap lint 2021-11-11 12:30:07 +08:00
Cargo.toml Bump Clippy Version -> 0.1.58 2021-10-21 12:19:32 +02:00