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 | ||
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 | ||