mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
2d037aa4a6
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |