File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -859,6 +859,7 @@ macro_rules! int_impl {
859
859
860
860
/// Stage 0
861
861
#[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
862
+ #[ inline( always) ]
862
863
#[ cfg( stage0) ]
863
864
pub fn wrapping_shl( self , rhs: u32 ) -> Self {
864
865
self . overflowing_shl( rhs) . 0
@@ -894,6 +895,7 @@ macro_rules! int_impl {
894
895
895
896
/// Stage 0
896
897
#[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
898
+ #[ inline( always) ]
897
899
#[ cfg( stage0) ]
898
900
pub fn wrapping_shr( self , rhs: u32 ) -> Self {
899
901
self . overflowing_shr( rhs) . 0
@@ -2025,6 +2027,7 @@ macro_rules! uint_impl {
2025
2027
2026
2028
/// Stage 0
2027
2029
#[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
2030
+ #[ inline( always) ]
2028
2031
#[ cfg( stage0) ]
2029
2032
pub fn wrapping_shl( self , rhs: u32 ) -> Self {
2030
2033
self . overflowing_shl( rhs) . 0
@@ -2060,6 +2063,7 @@ macro_rules! uint_impl {
2060
2063
2061
2064
/// Stage 0
2062
2065
#[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
2066
+ #[ inline( always) ]
2063
2067
#[ cfg( stage0) ]
2064
2068
pub fn wrapping_shr( self , rhs: u32 ) -> Self {
2065
2069
self . overflowing_shr( rhs) . 0
You can’t perform that action at this time.
0 commit comments