Skip to content

Commit 18cbec2

Browse files
committed
Clippy cleanup: noop_method_call
1 parent 78a4d9e commit 18cbec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sys/test_aio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ mod aio_read {
200200
assert_eq!(err, Ok(()));
201201
assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len());
202202
}
203-
assert_eq!(EXPECT, rbuf.deref().deref());
203+
assert_eq!(EXPECT, rbuf.deref());
204204
}
205205

206206
// Like ok, but allocates the structure on the stack.
@@ -223,7 +223,7 @@ mod aio_read {
223223
assert_eq!(err, Ok(()));
224224
assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len());
225225
}
226-
assert_eq!(EXPECT, rbuf.deref().deref());
226+
assert_eq!(EXPECT, rbuf.deref());
227227
}
228228
}
229229

0 commit comments

Comments
 (0)