Skip to content

Commit 484ae9e

Browse files
committed
Update from storage rework PR
2 parents a116f88 + 6a67ff2 commit 484ae9e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ documentation = "https://docs.rs/embedded-storage"
1313
readme = "README.md"
1414
keywords = ["storage"]
1515
categories = ["embedded", "hardware-support", "no-std"]
16-
17-
[dependencies]
18-
heapless = "^0.5"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub trait ReadStorage {
2626
/// Read a slice of data from the storage peripheral, starting the read
2727
/// operation at the given address offset, and reading `bytes.len()` bytes.
2828
///
29-
/// This should throw an error in case `bytes.len()` will be larger than
29+
/// This should throw an error in case `bytes.len()` will be larger than
3030
/// `self.capacity() - offset`.
3131
fn try_read(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), Self::Error>;
3232

0 commit comments

Comments
 (0)