diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index b57cc486e83..82bc1314ad5 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -415,9 +415,9 @@ pub mod __rand { pub use rand::{thread_rng, ThreadRng, Rng}; } -// Include a private number of modules that exist soley to provide the -// rustdoc documentation for primitive types. Using `include!` because -// rustdoc only looks for these modules at the crate level. +// Include a number of private modules that exist solely to provide +// the rustdoc documentation for primitive types. Using `include!` +// because rustdoc only looks for these modules at the crate level. include!("primitive_docs.rs"); // A curious inner-module that's not exported that contains the binding diff --git a/src/libstd/num/f32.rs b/src/libstd/num/f32.rs index 259106ac0b4..b8a70d756ef 100644 --- a/src/libstd/num/f32.rs +++ b/src/libstd/num/f32.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 32-bit floating point type +//! The 32-bit floating point type. //! //! *[See also the `f32` primitive type](../primitive.f32.html).* diff --git a/src/libstd/num/f64.rs b/src/libstd/num/f64.rs index 3cb1ee06e5c..4f2f59659ac 100644 --- a/src/libstd/num/f64.rs +++ b/src/libstd/num/f64.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 32-bit floating point type +//! The 64-bit floating point type. //! //! *[See also the `f64` primitive type](../primitive.f64.html).* diff --git a/src/libstd/num/i16.rs b/src/libstd/num/i16.rs index e8ad74cce4e..eb53e0821f2 100644 --- a/src/libstd/num/i16.rs +++ b/src/libstd/num/i16.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 16-bit signed integer type +//! The 16-bit signed integer type. //! //! *[See also the `i16` primitive type](../primitive.i16.html).* diff --git a/src/libstd/num/i32.rs b/src/libstd/num/i32.rs index d30f76b5580..3c9eedf38c7 100644 --- a/src/libstd/num/i32.rs +++ b/src/libstd/num/i32.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 32-bit signed integer type +//! The 32-bit signed integer type. //! //! *[See also the `i32` primitive type](../primitive.i32.html).* diff --git a/src/libstd/num/i64.rs b/src/libstd/num/i64.rs index 9c3cf23800c..2df7478a820 100644 --- a/src/libstd/num/i64.rs +++ b/src/libstd/num/i64.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 64-bit signed integer type +//! The 64-bit signed integer type. //! //! *[See also the `i64` primitive type](../primitive.i64.html).* diff --git a/src/libstd/num/i8.rs b/src/libstd/num/i8.rs index fdd45a1e117..4e4bee8a791 100644 --- a/src/libstd/num/i8.rs +++ b/src/libstd/num/i8.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 8-bit signed integer type +//! The 8-bit signed integer type. //! //! *[See also the `i8` primitive type](../primitive.i8.html).* diff --git a/src/libstd/num/isize.rs b/src/libstd/num/isize.rs index 3da96c7601c..d46b6b80d0d 100644 --- a/src/libstd/num/isize.rs +++ b/src/libstd/num/isize.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The pointer-sized signed integer type +//! The pointer-sized signed integer type. //! //! *[See also the `isize` primitive type](../primitive.isize.html).* diff --git a/src/libstd/num/u16.rs b/src/libstd/num/u16.rs index 6acdc65b9ea..893618aeffa 100644 --- a/src/libstd/num/u16.rs +++ b/src/libstd/num/u16.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 16-bit unsigned integer type +//! The 16-bit unsigned integer type. //! //! *[See also the `u16` primitive type](../primitive.u16.html).* diff --git a/src/libstd/num/u32.rs b/src/libstd/num/u32.rs index 78496f98910..2da25519696 100644 --- a/src/libstd/num/u32.rs +++ b/src/libstd/num/u32.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 32-bit unsigned integer type +//! The 32-bit unsigned integer type. //! //! *[See also the `u32` primitive type](../primitive.u32.html).* diff --git a/src/libstd/num/u64.rs b/src/libstd/num/u64.rs index 0c0d5dc3e9d..26a8b537394 100644 --- a/src/libstd/num/u64.rs +++ b/src/libstd/num/u64.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 64-bit unsigned integer type +//! The 64-bit unsigned integer type. //! //! *[See also the `u64` primitive type](../primitive.u64.html).* diff --git a/src/libstd/num/u8.rs b/src/libstd/num/u8.rs index 7ca80d07fd6..385754b93a0 100644 --- a/src/libstd/num/u8.rs +++ b/src/libstd/num/u8.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The 8-bit unsigned integer type +//! The 8-bit unsigned integer type. //! //! *[See also the `u8` primitive type](../primitive.u8.html).* diff --git a/src/libstd/num/usize.rs b/src/libstd/num/usize.rs index 15e783bc40e..6960ba3b829 100644 --- a/src/libstd/num/usize.rs +++ b/src/libstd/num/usize.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! The pointer-sized unsigned integer type +//! The pointer-sized unsigned integer type. //! //! *[See also the `usize` primitive type](../primitive.usize.html).* diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index 9b4c8af2aa9..066b2b576da 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -16,7 +16,7 @@ mod prim_bool { } #[doc(primitive = "char")] // -/// A Unicode scalar value +/// A Unicode scalar value. /// /// A `char` represents a /// *[Unicode scalar @@ -72,7 +72,7 @@ mod prim_unit { } #[doc(primitive = "pointer")] // -/// Raw, unsafe pointers, `*const T`, and `*mut T` +/// Raw, unsafe pointers, `*const T`, and `*mut T`. /// /// Working with raw pointers in Rust is uncommon, /// typically limited to a few patterns. @@ -231,7 +231,7 @@ mod prim_slice { } #[doc(primitive = "str")] // -/// Unicode string slices +/// Unicode string slices. /// /// Rust's `str` type is one of the core primitive types of the language. `&str` /// is the borrowed string type. This type of string can only be created from @@ -324,7 +324,7 @@ mod prim_str { } mod prim_tuple { } #[doc(primitive = "f32")] -/// The 32-bit floating point type +/// The 32-bit floating point type. /// /// *[See also the `std::f32` module](f32/index.html).* /// @@ -332,7 +332,7 @@ mod prim_f32 { } #[doc(primitive = "f64")] // -/// The 64-bit floating point type +/// The 64-bit floating point type. /// /// *[See also the `std::f64` module](f64/index.html).* /// @@ -340,7 +340,7 @@ mod prim_f64 { } #[doc(primitive = "i8")] // -/// The 8-bit signed integer type +/// The 8-bit signed integer type. /// /// *[See also the `std::i8` module](i8/index.html).* /// @@ -348,7 +348,7 @@ mod prim_i8 { } #[doc(primitive = "i16")] // -/// The 16-bit signed integer type +/// The 16-bit signed integer type. /// /// *[See also the `std::i16` module](i16/index.html).* /// @@ -356,7 +356,7 @@ mod prim_i16 { } #[doc(primitive = "i32")] // -/// The 32-bit signed integer type +/// The 32-bit signed integer type. /// /// *[See also the `std::i32` module](i32/index.html).* /// @@ -364,7 +364,7 @@ mod prim_i32 { } #[doc(primitive = "i64")] // -/// The 64-bit signed integer type +/// The 64-bit signed integer type. /// /// *[See also the `std::i64` module](i64/index.html).* /// @@ -372,7 +372,7 @@ mod prim_i64 { } #[doc(primitive = "u8")] // -/// The 8-bit unsigned integer type +/// The 8-bit unsigned integer type. /// /// *[See also the `std::u8` module](u8/index.html).* /// @@ -380,7 +380,7 @@ mod prim_u8 { } #[doc(primitive = "u16")] // -/// The 16-bit unsigned integer type +/// The 16-bit unsigned integer type. /// /// *[See also the `std::u16` module](u16/index.html).* /// @@ -388,7 +388,7 @@ mod prim_u16 { } #[doc(primitive = "u32")] // -/// The 32-bit unsigned integer type +/// The 32-bit unsigned integer type. /// /// *[See also the `std::u32` module](u32/index.html).* /// @@ -396,7 +396,7 @@ mod prim_u32 { } #[doc(primitive = "u64")] // -/// The 64-bit unsigned integer type +/// The 64-bit unsigned integer type. /// /// *[See also the `std::u64` module](u64/index.html).* /// @@ -404,7 +404,7 @@ mod prim_u64 { } #[doc(primitive = "isize")] // -/// The pointer-sized signed integer type +/// The pointer-sized signed integer type. /// /// *[See also the `std::isize` module](isize/index.html).* /// @@ -412,7 +412,7 @@ mod prim_isize { } #[doc(primitive = "usize")] // -/// The pointer-sized signed integer type +/// The pointer-sized signed integer type. /// /// *[See also the `std::usize` module](usize/index.html).* ///