Skip to content

Commit b68db57

Browse files
remove useless cast
Co-authored-by: Copilot <[email protected]>
1 parent 921f208 commit b68db57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axdriver_block/src/sdmmc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl BlockDriverOps for SdMmcDriver {
7474
}
7575

7676
for (i, block) in blocks.iter().enumerate() {
77-
self.0.write_block(block_id as u32 + i as u32, block);
77+
self.0.write_block(block_id + i as u32, block);
7878
}
7979

8080
Ok(())

0 commit comments

Comments
 (0)