about summary refs log tree commit diff
path: root/src/libcore/char.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-07 17:15:58 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-07 17:54:35 -0700
commit1b568ba0fd531ff33d45cb52d5c8cbfe1908be86 (patch)
tree8fc9c711dd8a5f74d292edb549d1476f47e81ec2 /src/libcore/char.rs
parentf651bea822c7c1b1dcc317e089709804a97e2236 (diff)
downloadrust-1b568ba0fd531ff33d45cb52d5c8cbfe1908be86.tar.gz
rust-1b568ba0fd531ff33d45cb52d5c8cbfe1908be86.zip
std: Hide facade extension traits in docs
These traits are currently all just unstable parts of the facade which are
implementation details for primitives further up the facade. This may make it
more difficult to find what set of methods you get if only linking to libcore,
but for now that's also unstable behavior.

Closes #22025
Diffstat (limited to 'src/libcore/char.rs')
-rw-r--r--src/libcore/char.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 010415b364a..ba9748eea71 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -139,6 +139,7 @@ pub fn from_digit(num: u32, radix: u32) -> Option<char> {
 // NB: the stabilization and documentation for this trait is in
 // unicode/char.rs, not here
 #[allow(missing_docs)] // docs in libunicode/u_char.rs
+#[doc(hidden)]
 pub trait CharExt {
     fn is_digit(self, radix: u32) -> bool;
     fn to_digit(self, radix: u32) -> Option<u32>;