Remove PartialOrd, Ord deriving from Range in Rust lib

This commit is contained in:
Andrew Hlynskyi 2023-08-02 18:28:44 +03:00
parent 0c5a6eb525
commit b456f831d1

View file

@ -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,