Skip to content

Commit

Permalink
docs: fix docsrs builds with the fs feature enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed May 24, 2024
1 parent 9c337ca commit dc5cf1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tokio/src/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ impl mio::event::Source for NotDefinedHere {
}
}

#[cfg(feature = "net")]
#[cfg(any(feature = "net", feature = "fs"))]
pub mod os;
2 changes: 1 addition & 1 deletion tokio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ pub mod stream {}
#[cfg(docsrs)]
pub mod doc;

#[cfg(feature = "net")]
#[cfg(any(feature = "net", feature = "fs"))]
#[cfg(docsrs)]
#[allow(unused)]
pub(crate) use self::doc::os;
Expand Down

0 comments on commit dc5cf1c

Please sign in to comment.