We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf3e225 commit 317d300Copy full SHA for 317d300
src/lib.rs
@@ -62,7 +62,7 @@ pub trait BlockDevice<const BLOCK_SIZE: usize = 512> {
62
type Error;
63
64
/// Returns the size of the device in blocks.
65
- fn block_count(&self) -> Result<usize, Self::Error>;
+ fn block_count(&self) -> Result<u64, Self::Error>;
66
67
/// Reads some number of blocks from the device, starting at `first_block_index`.
68
///
0 commit comments