Skip to content

Commit

Permalink
Clippy cleanup: noop_method_call
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Aug 11, 2023
1 parent 78a4d9e commit 18cbec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sys/test_aio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ mod aio_read {
assert_eq!(err, Ok(()));
assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len());
}
assert_eq!(EXPECT, rbuf.deref().deref());
assert_eq!(EXPECT, rbuf.deref());
}

// Like ok, but allocates the structure on the stack.
Expand All @@ -223,7 +223,7 @@ mod aio_read {
assert_eq!(err, Ok(()));
assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len());
}
assert_eq!(EXPECT, rbuf.deref().deref());
assert_eq!(EXPECT, rbuf.deref());
}
}

Expand Down

0 comments on commit 18cbec2

Please sign in to comment.