forked from extern/nushell
Make comparisons/sort-by more 'global' (#4500)
* Make comparisons/sort-by more 'global' * Let custom values do their own comparisons
This commit is contained in:
@ -50,7 +50,7 @@ impl Display for Operator {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Serialize, Deserialize)]
|
||||
pub enum RangeInclusion {
|
||||
Inclusive,
|
||||
RightExclusive,
|
||||
|
Reference in New Issue
Block a user