Fix typo in wrapping_shl documentation
This commit is contained in:
@@ -1211,7 +1211,7 @@ any high-order bits of `rhs` that would cause the shift to exceed the bitwidth o
|
|||||||
|
|
||||||
Note that this is *not* the same as a rotate-left; the RHS of a wrapping shift-left is restricted to
|
Note that this is *not* the same as a rotate-left; the RHS of a wrapping shift-left is restricted to
|
||||||
the range of the type, rather than the bits shifted out of the LHS being returned to the other end.
|
the range of the type, rather than the bits shifted out of the LHS being returned to the other end.
|
||||||
The primitive integer types all implement a `[`rotate_left`](#method.rotate_left) function,
|
The primitive integer types all implement a [`rotate_left`](#method.rotate_left) function,
|
||||||
which may be what you want instead.
|
which may be what you want instead.
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user