mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +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;
|
pub mod os;
|
||||||
|
|||||||
+1
-1
@@ -628,7 +628,7 @@ pub mod stream {}
|
|||||||
#[cfg(docsrs)]
|
#[cfg(docsrs)]
|
||||||
pub mod doc;
|
pub mod doc;
|
||||||
|
|
||||||
#[cfg(feature = "net")]
|
#[cfg(any(feature = "net", feature = "fs"))]
|
||||||
#[cfg(docsrs)]
|
#[cfg(docsrs)]
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
pub(crate) use self::doc::os;
|
pub(crate) use self::doc::os;
|
||||||
|
|||||||
Reference in New Issue
Block a user