docs: fix docsrs builds with the fs feature enabled (#6585)

This commit is contained in:
John-John Tedro
2024-06-05 08:20:27 +00:00
committed by GitHub
parent 3f397ccded
commit 16fccafb41
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,5 +43,5 @@ impl mio::event::Source for NotDefinedHere {
}
}
#[cfg(feature = "net")]
#[cfg(any(feature = "net", feature = "fs"))]
pub mod os;
+1 -1
View File
@@ -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;