summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/rectangle.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/rectangle.rs b/core/src/rectangle.rs
index c6e6fce4..4fe91519 100644
--- a/core/src/rectangle.rs
+++ b/core/src/rectangle.rs
@@ -111,12 +111,6 @@ impl Rectangle<f32> {
}
}
-impl std::cmp::PartialOrd for Rectangle<f32> {
- fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
- (self.width * self.height).partial_cmp(&(other.width * other.height))
- }
-}
-
impl std::ops::Mul<f32> for Rectangle<f32> {
type Output = Self;