Skip to content

Commit

Permalink
docs: fix docsrs build without net feature (#6360)
Browse files Browse the repository at this point in the history
  • Loading branch information
qrnch-jan committed Feb 19, 2024
1 parent b32826b commit 099ee23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ pub mod stream {}
#[cfg(docsrs)]
pub mod doc;

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

0 comments on commit 099ee23

Please sign in to comment.