mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
docs: fix docsrs builds with the fs feature enabled (#6585)
This commit is contained in:
@@ -43,5 +43,5 @@ impl mio::event::Source for NotDefinedHere {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "net")]
|
||||
#[cfg(any(feature = "net", feature = "fs"))]
|
||||
pub mod os;
|
||||
|
||||
+1
-1
@@ -628,7 +628,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;
|
||||
|
||||
Reference in New Issue
Block a user