File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 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 {
859859
860860 /// Stage 0
861861 #[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
862+ #[ inline( always) ]
862863 #[ cfg( stage0) ]
863864 pub fn wrapping_shl( self , rhs: u32 ) -> Self {
864865 self . overflowing_shl( rhs) . 0
@@ -894,6 +895,7 @@ macro_rules! int_impl {
894895
895896 /// Stage 0
896897 #[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
898+ #[ inline( always) ]
897899 #[ cfg( stage0) ]
898900 pub fn wrapping_shr( self , rhs: u32 ) -> Self {
899901 self . overflowing_shr( rhs) . 0
@@ -2025,6 +2027,7 @@ macro_rules! uint_impl {
20252027
20262028 /// Stage 0
20272029 #[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
2030+ #[ inline( always) ]
20282031 #[ cfg( stage0) ]
20292032 pub fn wrapping_shl( self , rhs: u32 ) -> Self {
20302033 self . overflowing_shl( rhs) . 0
@@ -2060,6 +2063,7 @@ macro_rules! uint_impl {
20602063
20612064 /// Stage 0
20622065 #[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
2066+ #[ inline( always) ]
20632067 #[ cfg( stage0) ]
20642068 pub fn wrapping_shr( self , rhs: u32 ) -> Self {
20652069 self . overflowing_shr( rhs) . 0
You can’t perform that action at this time.
0 commit comments