We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 648e1b1 commit 9fb9ad6Copy full SHA for 9fb9ad6
text/0000-integer-overflow.md
@@ -183,7 +183,10 @@ pub trait WrappingOps {
183
fn wrapping_mul(self, rhs: Self) -> Self;
184
fn wrapping_div(self, rhs: Self) -> Self;
185
fn wrapping_rem(self, rhs: Self) -> Self;
186
-
+
187
+ fn wrapping_lshift(self, amount: u32) -> Self;
188
+ fn wrapping_rshift(self, amount: u32) -> Self;
189
190
fn wrapping_as_u8(self, rhs: Self) -> u8;
191
fn wrapping_as_u16(self, rhs: Self) -> u16;
192
fn wrapping_as_u32(self, rhs: Self) -> u32
0 commit comments