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 4f4ab10 commit d69248aCopy full SHA for d69248a
src/lib.rs
@@ -27,7 +27,7 @@ pub trait ReadStorage {
27
/// operation at the given address offset, and reading `bytes.len()` bytes.
28
///
29
/// This should throw an error in case `bytes.len()` will be larger than
30
- /// `self.capacity()`.
+ /// `self.capacity() - offset`.
31
fn try_read(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), Self::Error>;
32
33
/// The capacity of the storage peripheral in bytes.
0 commit comments