File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1059,7 +1059,7 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
10591059            unsafe  {  Self :: new_unchecked( self . get( ) . unchecked_add( other) )  } 
10601060        } 
10611061
1062-         /// Returns the smallest power of two greater than or equal to n . 
1062+         /// Returns the smallest power of two greater than or equal to `self` . 
10631063         /// Checks for overflow and returns [`None`] 
10641064         /// if the next power of two is greater than the type’s maximum value. 
10651065         /// As a consequence, the result cannot wrap to zero. 
Original file line number Diff line number Diff line change @@ -2830,7 +2830,7 @@ macro_rules! uint_impl {
28302830         /// 
28312831         /// When return value overflows (i.e., `self > (1 << (N-1))` for type 
28322832         /// `uN`), it panics in debug mode and the return value is wrapped to 0 in 
2833-          /// release mode (the only situation in which method can return 0). 
2833+          /// release mode (the only situation in which this  method can return 0). 
28342834         /// 
28352835         /// # Examples 
28362836         /// 
@@ -2851,7 +2851,7 @@ macro_rules! uint_impl {
28512851            self . one_less_than_next_power_of_two( )  + 1 
28522852        } 
28532853
2854-         /// Returns the smallest power of two greater than or equal to `n `. If 
2854+         /// Returns the smallest power of two greater than or equal to `self `. If 
28552855         /// the next power of two is greater than the type's maximum value, 
28562856         /// `None` is returned, otherwise the power of two is wrapped in `Some`. 
28572857         /// 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments