diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index a30ec452e3c15..5789cd8edfc09 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Unicode string slices +//! Unicode string slices. //! //! *[See also the `str` primitive type](../primitive.str.html).* diff --git a/src/libcore/clone.rs b/src/libcore/clone.rs index 769faedf46e8e..b1f63ad71ca37 100644 --- a/src/libcore/clone.rs +++ b/src/libcore/clone.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // 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 //! assign them or pass them as arguments, the receiver will get a copy, diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index a3b09e9db42d1..6cc3b4e01b865 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Utilities for formatting and printing strings +//! Utilities for formatting and printing strings. #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index d6bd9dbf4bde2..0e65a79e347a0 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // 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 //! perform an operation on the elements of said collection, you'll quickly run diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index c36ad592ad3b5..2c648d1516bff 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // 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 //! types, initializing and manipulating memory. diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 0f5584a952f54..25df9c90578a5 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Overloadable operators +//! Overloadable operators. //! //! Implementing these traits allows you to get an effect similar to //! overloading operators. diff --git a/src/libcore/option.rs b/src/libcore/option.rs index e38cf9af010b9..56b84fd6a64dd 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Optional values +//! Optional values. //! //! Type `Option` represents an optional value: every `Option` //! is either `Some` and contains a value, or `None`, and diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 3cf722668b24f..3cbeac450e218 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -10,7 +10,7 @@ // 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).* diff --git a/src/libcore/result.rs b/src/libcore/result.rs index f6703d16ad997..09f612c20ecdf 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Error handling with the `Result` type +//! Error handling with the `Result` type. //! //! `Result` is the type used for returning and propagating //! errors. It is an enum with the variants, `Ok(T)`, representing diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs index 587d1d422587b..5e15c0aefb709 100644 --- a/src/libstd/ascii.rs +++ b/src/libstd/ascii.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations on ASCII strings and characters +//! Operations on ASCII strings and characters. #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index badbba21d55cc..53384fb9b154b 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Filesystem manipulation operations +//! Filesystem manipulation operations. //! //! This module contains basic methods to manipulate the contents of the local //! filesystem. All methods in this module represent cross-platform filesystem diff --git a/src/libstd/os/mod.rs b/src/libstd/os/mod.rs index e15c8d67a8a6c..72baa4abb2646 100644 --- a/src/libstd/os/mod.rs +++ b/src/libstd/os/mod.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! OS-specific functionality +//! OS-specific functionality. #![stable(feature = "os", since = "1.0.0")] #![allow(missing_docs, bad_style)] diff --git a/src/libstd/prelude/mod.rs b/src/libstd/prelude/mod.rs index ebd299efa78db..f4cd319f06454 100644 --- a/src/libstd/prelude/mod.rs +++ b/src/libstd/prelude/mod.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The Rust Prelude +//! The Rust Prelude. //! //! 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 diff --git a/src/libstd/sync/mod.rs b/src/libstd/sync/mod.rs index 9c9aa20eff5c0..1a42b091831b3 100644 --- a/src/libstd/sync/mod.rs +++ b/src/libstd/sync/mod.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Useful synchronization primitives +//! Useful 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 diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 981ba1e36e9d5..6a923c8c094bf 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Native threads +//! Native threads. //! //! ## The threading model //!