mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Use `is_diagnostic_item` for checking a def_id in `unnecessary_min_or_max`. close #13191 This PR fixes the false positives in `unnecessary_min_or_max `. We should use `is_diagnostic_item` for checking def_ids in this lint. ---- changelog: fix false positive in `unnecessary_min_or_max `. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |