File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -970,21 +970,21 @@ impl WrappingRange {
970
970
971
971
/// Returns `self` with replaced `start`
972
972
#[ inline( always) ]
973
- pub fn with_start ( mut self , start : u128 ) -> Self {
973
+ fn with_start ( mut self , start : u128 ) -> Self {
974
974
self . start = start;
975
975
self
976
976
}
977
977
978
978
/// Returns `self` with replaced `end`
979
979
#[ inline( always) ]
980
- pub fn with_end ( mut self , end : u128 ) -> Self {
980
+ fn with_end ( mut self , end : u128 ) -> Self {
981
981
self . end = end;
982
982
self
983
983
}
984
984
985
985
/// Returns `true` if `size` completely fills the range.
986
986
#[ inline]
987
- pub fn is_full_for ( & self , size : Size ) -> bool {
987
+ fn is_full_for ( & self , size : Size ) -> bool {
988
988
let max_value = size. unsigned_int_max ( ) ;
989
989
debug_assert ! ( self . start <= max_value && self . end <= max_value) ;
990
990
self . start == ( self . end . wrapping_add ( 1 ) & max_value)
You can’t perform that action at this time.
0 commit comments