Rollup merge of #130481 - krtab:clamp_partial_ord, r=cuviper · qinheping/verify-rust-std@e65d8e8 (original) (raw)
Rollup merge of rust-lang#130481 - krtab:clamp_partial_ord, r=cuviper
Remove uneeded PartialOrd bound in cmp::Ord::clamp There is a `Self: PartialOrd` bound in `Ord::clamp`, but it is already required by the trait itself. Likely a left-over from the const trait deletion in 76dbe29. Reported-by: `@noeensarguet`