Skip to content

Commit 17abb43

Browse files
committed
Set up docs for missing core types
Fixes #22085
1 parent 012e964 commit 17abb43

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: src/libcore/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ pub mod hash;
141141
pub mod fmt;
142142
pub mod error;
143143

144+
#[doc(primitive = "bool")]
145+
mod bool {
146+
}
147+
144148
// note: does not need to be public
145149
mod tuple;
146150
mod array;

Diff for: src/libcore/tuple.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
//! * `Default`
3535
3636
#![stable(feature = "rust1", since = "1.0.0")]
37+
#![doc(primitive = "tuple")]
3738

3839
use clone::Clone;
3940
use cmp::*;

0 commit comments

Comments
 (0)