Skip to content

Commit

Permalink
ci: fix docs on latest nightly (#6120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed Nov 1, 2023
1 parent ed32cd1 commit 4c85801
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tokio/src/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,26 @@
#[derive(Debug)]
pub enum NotDefinedHere {}

impl mio::event::Source for NotDefinedHere {
fn register(
&mut self,
registry: &mio::Registry,
token: mio::Token,
interests: mio::Interest,
) -> std::io::Result<()> {
Ok(())
}
fn reregister(
&mut self,
registry: &mio::Registry,
token: mio::Token,
interests: mio::Interest,
) -> std::io::Result<()> {
Ok(())
}
fn deregister(&mut self, registry: &mio::Registry) -> std::io::Result<()> {
Ok(())
}
}

pub mod os;

0 comments on commit 4c85801

Please sign in to comment.