Skip to content

Commit 7431eb8

Browse files
committed
Fix clippy::unnecessary_wraps warning
1 parent 98e4dfc commit 7431eb8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

futures/tests/stream_into_async_read.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn test_into_async_read() {
5252
}
5353

5454
#[test]
55-
fn test_into_async_bufread() -> std::io::Result<()> {
55+
fn test_into_async_bufread() {
5656
use core::pin::Pin;
5757
use futures::io::AsyncBufRead;
5858
use futures::stream::{self, TryStreamExt};
@@ -97,6 +97,4 @@ fn test_into_async_bufread() -> std::io::Result<()> {
9797
reader.as_mut().consume(3);
9898

9999
assert_fill_buf!(reader, &[][..]);
100-
101-
Ok(())
102100
}

0 commit comments

Comments
 (0)