File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1330,11 +1330,11 @@ macro_rules! int_impl {
13301330] 
13311331        #[ inline] 
13321332        pub  const  fn  unbounded_shl( self ,  rhs:  u32 )  -> $SelfT{ 
1333-             if  rhs < Self :: BITS { 
1333+             if  rhs < Self :: BITS   { 
13341334                // SAFETY: 
13351335                // rhs is just checked to be in-range above 
13361336                unsafe  {  self . unchecked_shl( rhs)  } 
1337-             } else{ 
1337+             }   else  { 
13381338                0 
13391339            } 
13401340        } 
@@ -1457,11 +1457,11 @@ macro_rules! int_impl {
14571457] 
14581458        #[ inline] 
14591459        pub  const  fn  unbounded_shr( self ,  rhs:  u32 )  -> $SelfT{ 
1460-             if  rhs < Self :: BITS { 
1460+             if  rhs < Self :: BITS   { 
14611461                // SAFETY: 
14621462                // rhs is just checked to be in-range above 
14631463                unsafe  {  self . unchecked_shr( rhs)  } 
1464-             } else{ 
1464+             }   else  { 
14651465                // A shift by `Self::BITS-1` suffices for signed integers, because the sign bit is copied for each of the shifted bits. 
14661466
14671467                // SAFETY: 
Original file line number Diff line number Diff line change @@ -1519,11 +1519,11 @@ macro_rules! uint_impl {
15191519] 
15201520        #[ inline] 
15211521        pub  const  fn  unbounded_shl( self ,  rhs:  u32 )  -> $SelfT{ 
1522-             if  rhs < Self :: BITS { 
1522+             if  rhs < Self :: BITS   { 
15231523                // SAFETY: 
15241524                // rhs is just checked to be in-range above 
15251525                unsafe  {  self . unchecked_shl( rhs)  } 
1526-             } else{ 
1526+             }   else  { 
15271527                0 
15281528            } 
15291529        } 
@@ -1644,11 +1644,11 @@ macro_rules! uint_impl {
16441644] 
16451645        #[ inline] 
16461646        pub  const  fn  unbounded_shr( self ,  rhs:  u32 )  -> $SelfT{ 
1647-             if  rhs < Self :: BITS { 
1647+             if  rhs < Self :: BITS   { 
16481648                // SAFETY: 
16491649                // rhs is just checked to be in-range above 
16501650                unsafe  {  self . unchecked_shr( rhs)  } 
1651-             } else{ 
1651+             }   else  { 
16521652                0 
16531653            } 
16541654        } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments