mirror of
https://github.com/nushell/nushell.git
synced 2025-06-18 07:56:56 +02:00
Change helper method visibility
This commit is contained in:
parent
9e7e8ed48f
commit
4e443b2088
@ -104,11 +104,11 @@ impl Range {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn moves_up(&self) -> bool {
|
fn moves_up(&self) -> bool {
|
||||||
self.from <= self.to
|
self.from <= self.to
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_end_inclusive(&self) -> bool {
|
fn is_end_inclusive(&self) -> bool {
|
||||||
matches!(self.inclusion, RangeInclusion::Inclusive)
|
matches!(self.inclusion, RangeInclusion::Inclusive)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user