Merge pull request #2461 from tree-sitter/no-ord-on-range
Remove `PartialOrd, Ord` deriving from `Range` in Rust lib
This commit is contained in:
commit
73bb2c36fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue