From a71f5b1b16a572d61e35b09994e2bd169d3b7517 Mon Sep 17 00:00:00 2001 From: umajho Date: Thu, 11 Jun 2026 20:43:01 +0800 Subject: [PATCH] Fix(epaint): just realized that I forgot to remove a change I said I reverted --- crates/epaint/src/text/cursor.rs | 7 ------- 1 file changed, 7 deletions(-) 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.