Rustfmt driver-network and driver-block

This commit is contained in:
bjorn3
2024-07-20 15:49:18 +02:00
parent 4d0008a32b
commit 7eceaaa2bd
2 changed files with 4 additions and 7 deletions
+2 -7
View File
@@ -126,13 +126,8 @@ impl DiskWrapper {
}
}
};
let bytes_read = block_read(
self.offset,
blksize,
buf,
self.block_bytes,
read_block,
)?;
let bytes_read =
block_read(self.offset, blksize, buf, self.block_bytes, read_block)?;
self.offset += bytes_read as u64;
Ok(bytes_read)