提交 79f914fd 编写于 作者: B bors

Auto merge of #32051 - steveklabnik:gh9447, r=bluss

Fixes #9447
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Unicode string slices //! Unicode string slices.
//! //!
//! *[See also the `str` primitive type](../primitive.str.html).* //! *[See also the `str` primitive type](../primitive.str.html).*
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! The `Clone` trait for types that cannot be 'implicitly copied' //! The `Clone` trait for types that cannot be 'implicitly copied'.
//! //!
//! In Rust, some simple types are "implicitly copyable" and when you //! In Rust, some simple types are "implicitly copyable" and when you
//! assign them or pass them as arguments, the receiver will get a copy, //! assign them or pass them as arguments, the receiver will get a copy,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Utilities for formatting and printing strings //! Utilities for formatting and printing strings.
#![stable(feature = "rust1", since = "1.0.0")] #![stable(feature = "rust1", since = "1.0.0")]
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Composable external iteration //! Composable external iteration.
//! //!
//! If you've found yourself with a collection of some kind, and needed to //! If you've found yourself with a collection of some kind, and needed to
//! perform an operation on the elements of said collection, you'll quickly run //! perform an operation on the elements of said collection, you'll quickly run
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Basic functions for dealing with memory //! Basic functions for dealing with memory.
//! //!
//! This module contains functions for querying the size and alignment of //! This module contains functions for querying the size and alignment of
//! types, initializing and manipulating memory. //! types, initializing and manipulating memory.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Overloadable operators //! Overloadable operators.
//! //!
//! Implementing these traits allows you to get an effect similar to //! Implementing these traits allows you to get an effect similar to
//! overloading operators. //! overloading operators.
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Optional values //! Optional values.
//! //!
//! Type `Option` represents an optional value: every `Option` //! Type `Option` represents an optional value: every `Option`
//! is either `Some` and contains a value, or `None`, and //! is either `Some` and contains a value, or `None`, and
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
// FIXME: talk about offset, copy_memory, copy_nonoverlapping_memory // FIXME: talk about offset, copy_memory, copy_nonoverlapping_memory
//! Raw, unsafe pointers, `*const T`, and `*mut T` //! Raw, unsafe pointers, `*const T`, and `*mut T`.
//! //!
//! *[See also the pointer primitive types](../../std/primitive.pointer.html).* //! *[See also the pointer primitive types](../../std/primitive.pointer.html).*
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Error handling with the `Result` type //! Error handling with the `Result` type.
//! //!
//! `Result<T, E>` is the type used for returning and propagating //! `Result<T, E>` is the type used for returning and propagating
//! errors. It is an enum with the variants, `Ok(T)`, representing //! errors. It is an enum with the variants, `Ok(T)`, representing
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Operations on ASCII strings and characters //! Operations on ASCII strings and characters.
#![stable(feature = "rust1", since = "1.0.0")] #![stable(feature = "rust1", since = "1.0.0")]
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Filesystem manipulation operations //! Filesystem manipulation operations.
//! //!
//! This module contains basic methods to manipulate the contents of the local //! This module contains basic methods to manipulate the contents of the local
//! filesystem. All methods in this module represent cross-platform filesystem //! filesystem. All methods in this module represent cross-platform filesystem
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! OS-specific functionality //! OS-specific functionality.
#![stable(feature = "os", since = "1.0.0")] #![stable(feature = "os", since = "1.0.0")]
#![allow(missing_docs, bad_style)] #![allow(missing_docs, bad_style)]
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! The Rust Prelude //! The Rust Prelude.
//! //!
//! Rust comes with a variety of things in its standard library. However, if //! Rust comes with a variety of things in its standard library. However, if
//! you had to manually import every single thing that you used, it would be //! you had to manually import every single thing that you used, it would be
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Useful synchronization primitives //! Useful synchronization primitives.
//! //!
//! This module contains useful safe and unsafe synchronization primitives. //! This module contains useful safe and unsafe synchronization primitives.
//! Most of the primitives in this module do not provide any sort of locking //! Most of the primitives in this module do not provide any sort of locking
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
//! Native threads //! Native threads.
//! //!
//! ## The threading model //! ## The threading model
//! //!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册