Skip to content

Commit

Permalink
net: fix warnings when building the docs (#7113)
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej authored Jan 22, 2025
1 parent c081dfe commit ee19b0e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tokio/src/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ pub enum NotDefinedHere {}
impl mio::event::Source for NotDefinedHere {
fn register(
&mut self,
registry: &mio::Registry,
token: mio::Token,
interests: mio::Interest,
_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,
_registry: &mio::Registry,
_token: mio::Token,
_interests: mio::Interest,
) -> std::io::Result<()> {
Ok(())
}
fn deregister(&mut self, registry: &mio::Registry) -> std::io::Result<()> {
fn deregister(&mut self, _registry: &mio::Registry) -> std::io::Result<()> {
Ok(())
}
}
Expand Down

0 comments on commit ee19b0e

Please sign in to comment.