From dc7c3cd5c7115a8e7878922f5300d2f911be9be8 Mon Sep 17 00:00:00 2001 From: Zach Reizner Date: Sun, 13 Dec 2015 12:00:00 -0800 Subject: fix copy-paste typo in docs for wrapping_shr --- src/libcore/num/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore') 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. /// -- cgit 1.4.1-3-g733a5 From bf14d8f0e8363d0d771260f5edb00479f3f9df58 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 16 Dec 2015 11:42:18 -0500 Subject: Remove incorrect words about libcore's stability --- src/libcore/lib.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/libcore') diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 454e2b02b1c..cde86230d75 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -23,12 +23,6 @@ //! nor does it provide concurrency or I/O. These things require //! platform integration, and this library is platform-agnostic. //! -//! *It is not recommended to use the core library*. The stable -//! functionality of libcore is reexported from the -//! [standard library](../std/index.html). The composition of this library is -//! subject to change over time; only the interface exposed through libstd is -//! intended to be stable. -//! //! # How to use the core library //! // FIXME: Fill me in with more detail when the interface settles -- cgit 1.4.1-3-g733a5 From 22b30fad962b1b19bc5075bfd503866c6e9844d3 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 17 Dec 2015 19:27:52 +0200 Subject: doc: improve clarity by introducing a pause --- src/libcore/ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore') diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 0abbd70762d..dd4702376d4 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -1616,7 +1616,7 @@ impl fmt::Debug for RangeTo { } /// The `Deref` trait is used to specify the functionality of dereferencing -/// operations like `*v`. +/// operations, like `*v`. /// /// `Deref` also enables ['`Deref` coercions'][coercions]. /// -- cgit 1.4.1-3-g733a5