Skip to content

Commit 56d9784

Browse files
authored
Fix typo in wrapping_shl documentation
1 parent f0f6877 commit 56d9784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/int_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ any high-order bits of `rhs` that would cause the shift to exceed the bitwidth o
12111211
12121212
Note that this is *not* the same as a rotate-left; the RHS of a wrapping shift-left is restricted to
12131213
the range of the type, rather than the bits shifted out of the LHS being returned to the other end.
1214-
The primitive integer types all implement a `[`rotate_left`](#method.rotate_left) function,
1214+
The primitive integer types all implement a [`rotate_left`](#method.rotate_left) function,
12151215
which may be what you want instead.
12161216
12171217
# Examples

0 commit comments

Comments
 (0)