mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
chore: fix docsrs without net feature (#6166)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user