From b456f831d1371b95b785dab919f183d5d0d38b76 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Wed, 2 Aug 2023 18:28:44 +0300 Subject: [PATCH] Remove `PartialOrd, Ord` deriving from `Range` in Rust lib --- lib/binding_rust/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/binding_rust/lib.rs b/lib/binding_rust/lib.rs index 2e3403b4..b80e2661 100644 --- a/lib/binding_rust/lib.rs +++ b/lib/binding_rust/lib.rs @@ -58,7 +58,7 @@ pub struct Point { /// A range of positions in a multi-line text document, both in terms of bytes and of /// rows and columns. -#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub struct Range { pub start_byte: usize, pub end_byte: usize,