File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ macro_rules! int_impl {
644
644
self . overflowing_shl( rhs) . 0
645
645
}
646
646
647
- /// Panic-free bitwise shift-left ; yields `self >> mask(rhs)`,
647
+ /// Panic-free bitwise shift-right ; yields `self >> mask(rhs)`,
648
648
/// where `mask` removes any high-order bits of `rhs` that
649
649
/// would cause the shift to exceed the bitwidth of the type.
650
650
///
@@ -1446,7 +1446,7 @@ macro_rules! uint_impl {
1446
1446
self . overflowing_shl( rhs) . 0
1447
1447
}
1448
1448
1449
- /// Panic-free bitwise shift-left ; yields `self >> mask(rhs)`,
1449
+ /// Panic-free bitwise shift-right ; yields `self >> mask(rhs)`,
1450
1450
/// where `mask` removes any high-order bits of `rhs` that
1451
1451
/// would cause the shift to exceed the bitwidth of the type.
1452
1452
///
You can’t perform that action at this time.
0 commit comments