Skip to content

Commit 15d224e

Browse files
committed
Added to changelog
1 parent e791ee3 commit 15d224e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## Unreleased
66

7+
- Added check for too big items that won't ever fit in flash so it returns a good clear error.
8+
79
# 2.0.1 06-05-24
810

911
- Implemented the `get_len` function for all built-in key types

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ pub enum Error<S> {
387387
SerializationError(SerializationError),
388388
/// The item does not fit in flash, ever.
389389
/// This is different from [Error::FullStorage] because this item is too big to fit even in empty flash.
390+
///
391+
/// See the readme for more info about the constraints on item sizes.
390392
ItemTooBig,
391393
}
392394

0 commit comments

Comments
 (0)