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 @@ -260,13 +260,13 @@ macro_rules! rng_integer {
260260            } ; 
261261
262262            let  low = match  range. start_bound( )  { 
263-                 Bound :: Unbounded  => core :: $t:: MIN , 
263+                 Bound :: Unbounded  => $t:: MIN , 
264264                Bound :: Included ( & x)  => x, 
265265                Bound :: Excluded ( & x)  => x. checked_add( 1 ) . unwrap_or_else( panic_empty_range) , 
266266            } ; 
267267
268268            let  high = match  range. end_bound( )  { 
269-                 Bound :: Unbounded  => core :: $t:: MAX , 
269+                 Bound :: Unbounded  => $t:: MAX , 
270270                Bound :: Included ( & x)  => x, 
271271                Bound :: Excluded ( & x)  => x. checked_sub( 1 ) . unwrap_or_else( panic_empty_range) , 
272272            } ; 
@@ -275,7 +275,7 @@ macro_rules! rng_integer {
275275                panic_empty_range( ) ; 
276276            } 
277277
278-             if  low == core :: $t:: MIN  && high == core :: $t:: MAX  { 
278+             if  low == $t:: MIN  && high == $t:: MAX  { 
279279                self . $gen( )  as  $t
280280            }  else { 
281281                let  len = high. wrapping_sub( low) . wrapping_add( 1 ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments