about summary refs log tree commit diff
path: root/src/libstd/os
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-11-06 18:32:51 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-11-06 18:32:51 +0100
commit0282c27781b2f7501f4385ef22da82acc179c00e (patch)
treef55208a7cfe650d195d2beb5581f288ffee16b3b /src/libstd/os
parente8b190ac4ad79e58d21ee1d573529ff74d8eedaa (diff)
downloadrust-0282c27781b2f7501f4385ef22da82acc179c00e.tar.gz
rust-0282c27781b2f7501f4385ef22da82acc179c00e.zip
rename cfg(rustdoc) into cfg(doc)
Diffstat (limited to 'src/libstd/os')
-rw-r--r--src/libstd/os/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/os/mod.rs b/src/libstd/os/mod.rs
index d44c8ca544e..a8d2b0cb397 100644
--- a/src/libstd/os/mod.rs
+++ b/src/libstd/os/mod.rs
@@ -4,7 +4,7 @@
 #![allow(missing_docs, nonstandard_style, missing_debug_implementations)]
 
 cfg_if::cfg_if! {
-    if #[cfg(rustdoc)] {
+    if #[cfg(doc)] {
 
         // When documenting libstd we want to show unix/windows/linux modules as
         // these are the "main modules" that are used across platforms. This