about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-18 19:13:32 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-18 19:13:32 -0800
commit1b42e890bf99d37a9e6447912c75c5b5e4695c4e (patch)
tree38451358ee53751e437f0bbb9ca29ab17558dc81 /src/libcore/lib.rs
parentf9a48492a82f805aa40d8b6fea290badbab0d1b1 (diff)
downloadrust-1b42e890bf99d37a9e6447912c75c5b5e4695c4e.tar.gz
rust-1b42e890bf99d37a9e6447912c75c5b5e4695c4e.zip
std: Remove public bool,tuple,unit modules
This commit modifies rustdoc to not require these empty modules to be public in
the standard library. The modules still remain as a location to attach
documentation to, but the modules themselves are now private (don't have to
commit to an API). The documentation for the standard library now shows all of
the primitive types on the main index page.
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 729cb69193e..9b6622a7127 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -107,7 +107,6 @@ pub mod default;
 
 pub mod any;
 pub mod atomic;
-pub mod bool;
 pub mod borrow;
 pub mod cell;
 pub mod char;
@@ -120,15 +119,11 @@ pub mod result;
 pub mod simd;
 pub mod slice;
 pub mod str;
-pub mod tuple;
 pub mod hash;
-// FIXME #15320: primitive documentation needs top-level modules, this
-// should be `core::tuple::unit`.
-#[path = "tuple/unit.rs"]
-pub mod unit;
 pub mod fmt;
 
 // note: does not need to be public
+mod tuple;
 mod array;
 
 #[doc(hidden)]