Rollup merge of #29169 - apasel422:spell, r=steveklabnik

r? @steveklabnik
This commit is contained in:
Steve Klabnik 2015-10-19 17:14:08 -04:00
commit 2f2d8df534
4 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ Some examples of unsafe functions:
* `slice::get_unchecked` will perform unchecked indexing, allowing memory * `slice::get_unchecked` will perform unchecked indexing, allowing memory
safety to be freely violated. safety to be freely violated.
* every raw pointer to sized type has intrinsic `offset` method that invokes * every raw pointer to sized type has intrinsic `offset` method that invokes
Undefined Behaviour if it is not "in bounds" as defined by LLVM. Undefined Behavior if it is not "in bounds" as defined by LLVM.
* `mem::transmute` reinterprets some value as having the given type, * `mem::transmute` reinterprets some value as having the given type,
bypassing type safety in arbitrary ways. (see [conversions] for details) bypassing type safety in arbitrary ways. (see [conversions] for details)
* All FFI functions are `unsafe` because they can do arbitrary things. * All FFI functions are `unsafe` because they can do arbitrary things.

View File

@ -102,7 +102,7 @@ impl<S: Borrow<str>> SliceConcatExt<str> for [S] {
} }
} }
/// External iterator for a string's UTF16 codeunits. /// External iterator for a string's UTF-16 code units.
/// ///
/// For use with the `std::iter` module. /// For use with the `std::iter` module.
#[derive(Clone)] #[derive(Clone)]

View File

@ -3248,7 +3248,7 @@ impl<T> Default for Empty<T> {
/// Creates an iterator that yields nothing. /// Creates an iterator that yields nothing.
/// ///
/// # Exampes /// # Examples
/// ///
/// Basic usage: /// Basic usage:
/// ///

View File

@ -100,7 +100,7 @@ impl IntoInner<AnonPipe> for ChildStdin {
fn into_inner(self) -> AnonPipe { self.inner } fn into_inner(self) -> AnonPipe { self.inner }
} }
/// A handle to a child procesess's stdout /// A handle to a child process's stdout
#[stable(feature = "process", since = "1.0.0")] #[stable(feature = "process", since = "1.0.0")]
pub struct ChildStdout { pub struct ChildStdout {
inner: AnonPipe inner: AnonPipe
@ -121,7 +121,7 @@ impl IntoInner<AnonPipe> for ChildStdout {
fn into_inner(self) -> AnonPipe { self.inner } fn into_inner(self) -> AnonPipe { self.inner }
} }
/// A handle to a child procesess's stderr /// A handle to a child process's stderr
#[stable(feature = "process", since = "1.0.0")] #[stable(feature = "process", since = "1.0.0")]
pub struct ChildStderr { pub struct ChildStderr {
inner: AnonPipe inner: AnonPipe