Since `std::mem::swap` is not stable as a const fn, the suggestion would not be applicable in that cases
declare_clippy_lint
This crate contains Clippy lints. For the main crate, check GitHub.