Skip to content

Commit

Permalink
fix copy-paste typo in docs for wrapping_shr
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreizner committed Dec 13, 2015
1 parent 69adc88 commit dc7c3cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/num/mod.rs
Expand Up @@ -644,7 +644,7 @@ macro_rules! int_impl {
self.overflowing_shl(rhs).0
}

/// Panic-free bitwise shift-left; yields `self >> mask(rhs)`,
/// Panic-free bitwise shift-right; yields `self >> mask(rhs)`,
/// where `mask` removes any high-order bits of `rhs` that
/// would cause the shift to exceed the bitwidth of the type.
///
Expand Down Expand Up @@ -1446,7 +1446,7 @@ macro_rules! uint_impl {
self.overflowing_shl(rhs).0
}

/// Panic-free bitwise shift-left; yields `self >> mask(rhs)`,
/// Panic-free bitwise shift-right; yields `self >> mask(rhs)`,
/// where `mask` removes any high-order bits of `rhs` that
/// would cause the shift to exceed the bitwidth of the type.
///
Expand Down

0 comments on commit dc7c3cd

Please sign in to comment.