diff --git a/tokio/src/process/mod.rs b/tokio/src/process/mod.rs index f8f67408820..dc7b145a9f4 100644 --- a/tokio/src/process/mod.rs +++ b/tokio/src/process/mod.rs @@ -1484,7 +1484,7 @@ mod sys { impl_traits!(ChildStderr); } -#[cfg(windows)] +#[cfg(any(windows, docsrs))] #[cfg_attr(docsrs, doc(cfg(windows)))] mod windows { use super::*;