about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-11-21 05:40:35 +0100
committerest31 <MTest31@outlook.com>2016-12-30 15:17:27 +0100
commit85ec09187c5d75a49659a82882a97cc93baff5af (patch)
tree332db0f7df56e09649cd81d0629460a4b060474c /src/libstd
parent9e99213831a876bdb9b84dbf30462e4a845cf84f (diff)
downloadrust-85ec09187c5d75a49659a82882a97cc93baff5af.tar.gz
rust-85ec09187c5d75a49659a82882a97cc93baff5af.zip
Make rustdoc aware of the primitive i128 type
Many thanks to ollie27 for spotting all the places.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/primitive_docs.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
index 54dde6681e1..5981b482a97 100644
--- a/src/libstd/primitive_docs.rs
+++ b/src/libstd/primitive_docs.rs
@@ -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.