Address feedback
This commit is contained in:
parent
8497c428e5
commit
778c89c1bb
@ -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
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
|
||||
|
@ -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).*
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user