about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-09 08:40:36 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-09 08:40:36 -0800
commit58764bc384d44d37cff7e74fd22714cb28e71040 (patch)
treeb328f410a15b6f67aea20b8fbc6eb444031d8049
parent0ba9e1fa52627404a1e5b90f745f96a872a0c564 (diff)
downloadrust-58764bc384d44d37cff7e74fd22714cb28e71040.tar.gz
rust-58764bc384d44d37cff7e74fd22714cb28e71040.zip
std: Display primitive documentation for char
This ended up just being a forgotten attribute on the `char` module in
libunicode.

Closes #22084
-rw-r--r--src/libunicode/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libunicode/lib.rs b/src/libunicode/lib.rs
index 54c8fcd205b..e2263465e56 100644
--- a/src/libunicode/lib.rs
+++ b/src/libunicode/lib.rs
@@ -62,6 +62,7 @@ mod u_str;
 /// however the converse is not always true due to the above range limits
 /// and, as such, should be performed via the `from_u32` function..
 #[stable(feature = "rust1", since = "1.0.0")]
+#[doc(primitive = "char")]
 pub mod char {
     pub use core::char::{MAX, from_u32, from_digit};