@@ -1224,9 +1224,9 @@ $EndFeature, "
1224
1224
concat!( "Panic-free bitwise shift-left; yields `self << mask(rhs)`, where `mask` removes
1225
1225
any high-order bits of `rhs` that would cause the shift to exceed the bitwidth of the type.
1226
1226
1227
- Note that this is **not** the same as a rotate-left; the RHS of a wrapping shift-left is restricted to
1228
- the range of the type, rather than the bits shifted out of the LHS being returned to the other end.
1229
- The primitive integer types all implement a `rotate_left` function, which may be what you want
1227
+ Note that this is **not** the same as a rotate-left; the RHS of a wrapping shift-left is restricted
1228
+ to the range of the type, rather than the bits shifted out of the LHS being returned to the other
1229
+ end. The primitive integer types all implement a `rotate_left` function, which may be what you want
1230
1230
instead.
1231
1231
1232
1232
# Examples
@@ -1251,10 +1251,10 @@ $EndFeature, "
1251
1251
concat!( "Panic-free bitwise shift-right; yields `self >> mask(rhs)`, where `mask`
1252
1252
removes any high-order bits of `rhs` that would cause the shift to exceed the bitwidth of the type.
1253
1253
1254
- Note that this is **not** the same as a rotate-right; the RHS of a wrapping shift-right is restricted
1255
- to the range of the type, rather than the bits shifted out of the LHS being returned to the other
1256
- end. The primitive integer types all implement a `rotate_right` function, which may be what you want
1257
- instead.
1254
+ Note that this is **not** the same as a rotate-right; the RHS of a wrapping shift-right is
1255
+ restricted to the range of the type, rather than the bits shifted out of the LHS being returned to
1256
+ the other end. The primitive integer types all implement a `rotate_right` function, which may be
1257
+ what you want instead.
1258
1258
1259
1259
# Examples
1260
1260
0 commit comments