Make rustdoc aware of the primitive i128 type

Many thanks to ollie27 for spotting all the places.
This commit is contained in:
est31
2016-11-21 05:40:35 +01:00
parent 9e99213831
commit 85ec09187c
3 changed files with 26 additions and 0 deletions

View File

@@ -597,6 +597,17 @@ mod prim_i32 { }
///
mod prim_i64 { }
#[doc(primitive = "i128")]
//
/// The 128-bit signed integer type.
///
/// *[See also the `std::i128` module](i128/index.html).*
///
/// However, please note that examples are shared between primitive integer
/// types. So it's normal if you see usage of types like `i8` in there.
///
mod prim_i128 { }
#[doc(primitive = "u8")]
//
/// The 8-bit unsigned integer type.
@@ -641,6 +652,17 @@ mod prim_u32 { }
///
mod prim_u64 { }
#[doc(primitive = "u128")]
//
/// The 128-bit unsigned integer type.
///
/// *[See also the `std::u128` module](u128/index.html).*
///
/// However, please note that examples are shared between primitive integer
/// types. So it's normal if you see usage of types like `u8` in there.
///
mod prim_u128 { }
#[doc(primitive = "isize")]
//
/// The pointer-sized signed integer type.