about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-13 11:35:59 +0000
committerbors <bors@rust-lang.org>2017-05-13 11:35:59 +0000
commitef3ec5ece5bdf8950810225a9a3bc3cd1926e3d5 (patch)
tree8948bc7cc6fbf6605069fa8e8d9774bc6eac8ab9 /src/libstd
parent453cad6e658e095c6beacf12c589609dac3f4e52 (diff)
parentf28e3cdf54b935d6284bd554e17dc8e44f7b4deb (diff)
downloadrust-ef3ec5ece5bdf8950810225a9a3bc3cd1926e3d5.tar.gz
rust-ef3ec5ece5bdf8950810225a9a3bc3cd1926e3d5.zip
Auto merge of #41965 - Mark-Simulacrum:rollup, r=Mark-Simulacrum
Rollup of 15 pull requests

- Successful merges: #41820, #41860, #41876, #41896, #41912, #41916, #41918, #41921, #41923, #41934, #41935, #41940, #41942, #41943, #41951
- Failed merges:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ffi/c_str.rs10
-rw-r--r--src/libstd/thread/mod.rs4
2 files changed, 6 insertions, 8 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs
index 29f977ecd8c..44b62593fa3 100644
--- a/src/libstd/ffi/c_str.rs
+++ b/src/libstd/ffi/c_str.rs
@@ -30,12 +30,10 @@ use str::{self, Utf8Error};
 /// type is a static guarantee that the underlying bytes contain no interior 0
 /// bytes and the final byte is 0.
 ///
-/// A `CString` is created from either a byte slice or a byte vector. After
-/// being created, a `CString` predominately inherits all of its methods from
-/// the `Deref` implementation to `[c_char]`. Note that the underlying array
-/// is represented as an array of `c_char` as opposed to `u8`. A `u8` slice
-/// can be obtained with the `as_bytes` method.  Slices produced from a `CString`
-/// do *not* contain the trailing nul terminator unless otherwise specified.
+/// A `CString` is created from either a byte slice or a byte vector.  A `u8`
+/// slice can be obtained with the `as_bytes` method.  Slices produced from a
+/// `CString` do *not* contain the trailing nul terminator unless otherwise
+/// specified.
 ///
 /// # Examples
 ///
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index 230c60baf8b..200368be275 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -210,8 +210,8 @@ impl Builder {
     /// configuration methods can be chained.
     ///
     /// If the [`stack_size`] field is not specified, the stack size
-    /// will be the `RUST_MIN_STACK` environment variable, if it is
-    /// not specified either, a sensible default size will be set (2MB as
+    /// will be the `RUST_MIN_STACK` environment variable.  If it is
+    /// not specified either, a sensible default will be set (2MB as
     /// of the writting of this doc).
     ///
     /// # Examples