mirror of
https://github.com/jiangcuo/nix.git
synced 2026-08-09 14:21:07 +00:00
Merge pull request #2094 from asomers/clippy-aug-11-2023
Clippy cleanup: noop_method_call
This commit is contained in:
commit
6fb3a8fcaa
@ -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.
|
||||
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user