Skip to content

Commit

Permalink
Merge pull request nix-rust#2094 from asomers/clippy-aug-11-2023
Browse files Browse the repository at this point in the history
Clippy cleanup: noop_method_call
  • Loading branch information
asomers committed Aug 11, 2023
2 parents ee91423 + 18cbec2 commit 6fb3a8f
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 6fb3a8f

Please sign in to comment.