Skip to content

Commit

Permalink
Appease rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Aug 23, 2021
1 parent 0536be4 commit 4743978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio/src/io/poll_aio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ impl<T: AioSource> Source for MioSource<T> {
&mut self,
registry: &Registry,
token: Token,
interests: mio::Interest) -> io::Result<()>
{
interests: mio::Interest,
) -> io::Result<()> {
assert!(interests.is_aio() || interests.is_lio());
self.0.register(registry.as_raw_fd(), usize::from(token));
Ok(())
Expand Down

0 comments on commit 4743978

Please sign in to comment.