mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00

- Remove unnecessary references and dereferences - Use `.contains` instead of `a <= x && x <= b` - Use `mem::take` instead of `mem::replace` where possible