Skip to content

Commit e637c0e

Browse files
committed
clippy
1 parent 2a72daf commit e637c0e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/api/blobs.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,7 @@ impl Blobs {
437437
mut reader: R,
438438
) -> RequestResult<R> {
439439
let mut size = [0; 8];
440-
reader
441-
.recv_exact(&mut size)
442-
.await
443-
.map_err(io::Error::from)?;
440+
reader.recv_exact(&mut size).await?;
444441
let size = u64::from_le_bytes(size);
445442
let Some(size) = NonZeroU64::new(size) else {
446443
return if hash == Hash::EMPTY {

0 commit comments

Comments
 (0)