Skip to content

Commit

Permalink
chore: fix docsrs without net feature (#6166)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed Nov 23, 2023
1 parent 7a30504 commit 498288c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tokio/src/doc/mod.rs
Expand Up @@ -20,6 +20,7 @@
#[derive(Debug)]
pub enum NotDefinedHere {}

#[cfg(feature = "net")]
impl mio::event::Source for NotDefinedHere {
fn register(
&mut self,
Expand All @@ -42,4 +43,5 @@ impl mio::event::Source for NotDefinedHere {
}
}

#[cfg(feature = "net")]
pub mod os;

0 comments on commit 498288c

Please sign in to comment.