rust/clippy_lints
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
..
2021-11-02 14:19:31 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.