Skip to content

Commit d98cc99

Browse files
committed
auto merge of #6768 : lkuper/rust/3538, r=thestinger
There were several old `#[doc(hidden)]` attributes in libstd and libextra, left over from when rustdoc didn't hide private definitions, tagged with `FIXME #3538`. Since #3538 is now closed, I removed the `#[doc(hidden)]` attributes as well as the FIXMEs, but I left `#[doc(hidden)]` in libstd/task/spawn.rs and libstd/task/rt.rs since those two are apparently `pub`, as well as in libextra/std.rc since std/extra is `pub`.
2 parents 3941f78 + beec6e4 commit d98cc99

File tree

8 files changed

+4
-13
lines changed

8 files changed

+4
-13
lines changed

src/libextra/std.rc

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ pub mod serialize;
123123
// A curious inner-module that's not exported that contains the binding
124124
// 'extra' so that macro-expanded references to std::serialize and such
125125
// can be resolved within libextra.
126-
#[doc(hidden)] // FIXME #3538
126+
#[doc(hidden)]
127127
pub mod std {
128128
pub use serialize;
129129
pub use test;
@@ -134,7 +134,7 @@ pub mod std {
134134
pub use core::cmp;
135135
pub use core::sys;
136136
}
137-
#[doc(hidden)] // FIXME #3538
137+
#[doc(hidden)]
138138
pub mod extra {
139139
pub use serialize;
140140
pub use test;

src/libstd/num/cmath.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[doc(hidden)]; // FIXME #3538
12-
1311
// function names are almost identical to C's libmath, a few have been
1412
// renamed, grep for "rename:"
1513

src/libstd/stackwalk.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[doc(hidden)]; // FIXME #3538
12-
1311
use cast::transmute;
1412
use unstable::intrinsics;
1513

src/libstd/task/local_data_priv.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[doc(hidden)]; // FIXME #3538
12-
1311
use cast;
1412
use cmp::Eq;
1513
use libc;

src/libstd/task/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ pub fn task() -> TaskBuilder {
195195
}
196196
}
197197

198-
#[doc(hidden)] // FIXME #3538
199198
priv impl TaskBuilder {
200199
fn consume(&mut self) -> TaskBuilder {
201200
if self.consumed {

src/libstd/task/rt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The task interface to the runtime
1414
1515
*/
1616

17-
#[doc(hidden)]; // FIXME #3538
17+
#[doc(hidden)];
1818

1919
use libc;
2020

src/libstd/task/spawn.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
*
7171
****************************************************************************/
7272

73-
#[doc(hidden)]; // FIXME #3538
73+
#[doc(hidden)];
7474

7575
use cast::transmute;
7676
use cast;

src/libstd/unicode.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[doc(hidden)]; // FIXME #3538
12-
1311
// The following code was generated by "src/etc/unicode.py"
1412

1513
pub mod general_category {

0 commit comments

Comments
 (0)