chore: fix docsrs without net feature (#6166)

This commit is contained in:
Alice Ryhl
2023-11-23 15:20:46 +01:00
committed by GitHub
parent 7a30504fd4
commit 498288cd31
+2
View File
@@ -20,6 +20,7 @@
#[derive(Debug)]
pub enum NotDefinedHere {}
#[cfg(feature = "net")]
impl mio::event::Source for NotDefinedHere {
fn register(
&mut self,
@@ -42,4 +43,5 @@ impl mio::event::Source for NotDefinedHere {
}
}
#[cfg(feature = "net")]
pub mod os;