File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -970,21 +970,21 @@ impl WrappingRange {
970970
971971 /// Returns `self` with replaced `start`
972972 #[ inline( always) ]
973- pub fn with_start ( mut self , start : u128 ) -> Self {
973+ fn with_start ( mut self , start : u128 ) -> Self {
974974 self . start = start;
975975 self
976976 }
977977
978978 /// Returns `self` with replaced `end`
979979 #[ inline( always) ]
980- pub fn with_end ( mut self , end : u128 ) -> Self {
980+ fn with_end ( mut self , end : u128 ) -> Self {
981981 self . end = end;
982982 self
983983 }
984984
985985 /// Returns `true` if `size` completely fills the range.
986986 #[ inline]
987- pub fn is_full_for ( & self , size : Size ) -> bool {
987+ fn is_full_for ( & self , size : Size ) -> bool {
988988 let max_value = size. unsigned_int_max ( ) ;
989989 debug_assert ! ( self . start <= max_value && self . end <= max_value) ;
990990 self . start == ( self . end . wrapping_add ( 1 ) & max_value)
You can’t perform that action at this time.
0 commit comments