We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9687a8a + dc7c3cd commit dbec8c4Copy full SHA for dbec8c4
src/libcore/num/mod.rs
@@ -644,7 +644,7 @@ macro_rules! int_impl {
644
self.overflowing_shl(rhs).0
645
}
646
647
- /// Panic-free bitwise shift-left; yields `self >> mask(rhs)`,
+ /// Panic-free bitwise shift-right; yields `self >> mask(rhs)`,
648
/// where `mask` removes any high-order bits of `rhs` that
649
/// would cause the shift to exceed the bitwidth of the type.
650
///
@@ -1446,7 +1446,7 @@ macro_rules! uint_impl {
1446
1447
1448
1449
1450
1451
1452
0 commit comments