Skip to content

Commit ef0364f

Browse files
committed
read_exact -> read
1 parent d9c44e1 commit ef0364f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/read/seek.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub(crate) async fn read_cd<R: AsyncRead + AsyncSeek + Unpin>(
9898
'outer: loop {
9999
'inner: loop {
100100
let mut buffer = [0; async_io_utilities::SUGGESTED_BUFFER_SIZE];
101-
if reader.read_exact(&mut buffer).await? == 0 {
101+
if reader.read(&mut buffer).await? == 0 {
102102
break 'inner;
103103
}
104104
}

0 commit comments

Comments
 (0)