about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-20 14:12:57 +0000
committerbors <bors@rust-lang.org>2024-06-20 14:12:57 +0000
commit3e84ca8ac95623bc5a36886873b12bd95fd8f700 (patch)
tree1ab8770847c91b91527aad3e8741901635177f20 /compiler/rustc_codegen_gcc
parent4aee08f999767307f82d8d33fee6ee1af7ad5a00 (diff)
parent2f9f204123b857606e7b65d217a3b71920fccf20 (diff)
downloadrust-3e84ca8ac95623bc5a36886873b12bd95fd8f700.tar.gz
rust-3e84ca8ac95623bc5a36886873b12bd95fd8f700.zip
Auto merge of #12368 - vohoanglong0107:unnecessary-min, r=Alexendoo
Unnecessary call to min/max method

Continuation of https://github.com/rust-lang/rust-clippy/pull/12061
Fix https://github.com/rust-lang/rust-clippy/issues/11901 and https://github.com/rust-lang/rust-clippy/issues/11924

This implementation only deal with literal int, like `i32::MAX`, `-6_i32`, `0`

changelog: added lint [`unnecessary_min_max`]
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions