diff --git a/crates/epaint/src/text/cursor.rs b/crates/epaint/src/text/cursor.rs index 3725612de..a436ca1b1 100644 --- a/crates/epaint/src/text/cursor.rs +++ b/crates/epaint/src/text/cursor.rs @@ -69,13 +69,6 @@ impl std::ops::SubAssign for CCursor { } } -impl PartialOrd for CCursor { - #[inline] - fn partial_cmp(&self, other: &Self) -> Option { - self.index.partial_cmp(&other.index) - } -} - /// Row/column cursor. /// /// This refers to rows and columns in layout terms--text wrapping creates multiple rows.