diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-12-17 14:47:12 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-12-17 14:47:12 -0500 |
| commit | dbec8c4624c1a429dc18f22376c3201977db1948 (patch) | |
| tree | b286d361a0779e6d62c1f3def4fa3b49c859cdd5 /src/libcore | |
| parent | 9687a8a96978280824a557d32b30e619f857e6a7 (diff) | |
| parent | dc7c3cd5c7115a8e7878922f5300d2f911be9be8 (diff) | |
Rollup merge of #30370 - zachreizner:patch-1, r=apasel422
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/num/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 4f3c1256709..8abb12706a5 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -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. /// @@ -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. /// |
