From 4e443b2088711e480a51fe79c1996a4d128e721e Mon Sep 17 00:00:00 2001 From: Arthur Targaryen Date: Sat, 9 Oct 2021 18:02:05 +0200 Subject: [PATCH] Change helper method visibility --- crates/nu-protocol/src/value/range.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-protocol/src/value/range.rs b/crates/nu-protocol/src/value/range.rs index 56fc052fdc..c4636f61ea 100644 --- a/crates/nu-protocol/src/value/range.rs +++ b/crates/nu-protocol/src/value/range.rs @@ -104,11 +104,11 @@ impl Range { }) } - pub fn moves_up(&self) -> bool { + fn moves_up(&self) -> bool { self.from <= self.to } - pub fn is_end_inclusive(&self) -> bool { + fn is_end_inclusive(&self) -> bool { matches!(self.inclusion, RangeInclusion::Inclusive) }