mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
64243c6f99
Implement `manual_clamp` lint Fixes #9477 Fixes #6751 Identifies common patterns where usage of the `clamp` function would be more succinct and clear, and suggests using the `clamp` function instead. changelog: [`manual_clamp`]: Implement manual_clamp lint