From 968e0ddc6068e398275cbfc016a39094774186d6 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 13 Mar 2013 22:12:43 -0400 Subject: [PATCH 1/2] hide the linkhack module in the docs --- src/libcore/core.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 31d553f5a8cf3..bdcede7410c4b 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -56,6 +56,7 @@ Implicitly, all crates behave as if they included the following prologue: // On Linux, link to the runtime with -lrt. #[cfg(target_os = "linux")] +#[doc(hidden)] pub mod linkhack { #[link_args="-lrustrt -lrt"] #[link_args = "-lpthread"] From e4f5866c10cd5b45a4f95590f0f2fe0aff54c12e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 13 Mar 2013 22:12:55 -0400 Subject: [PATCH 2/2] rm FIXME from use of #[doc(hidden)] on pub mod --- src/libcore/core.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/core.rc b/src/libcore/core.rc index bdcede7410c4b..955c1f46d76ba 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -253,7 +253,7 @@ pub mod rt; // A curious inner-module that's not exported that contains the binding // 'core' so that macro-expanded references to core::error and such // can be resolved within libcore. -#[doc(hidden)] // FIXME #3538 +#[doc(hidden)] pub mod core { #[cfg(stage0)] pub const error : u32 = 1_u32;