diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index a1ed993b7d9..818a36002e7 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -901,7 +901,6 @@ fn min(self, other: Self) -> Self fn clamp(self, min: Self, max: Self) -> Self where Self: Sized, - Self: PartialOrd, { assert!(min <= max); if self < min {