mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-28 04:50:34 +00:00
Merge pull request #602 from sgued/capacity-error-default
Implement default for capacity error
This commit is contained in:
commit
6279f8a41e
@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Minor fixes to module docs.
|
||||
- Make MSRV of 1.87.0 explicit.
|
||||
|
||||
- Implement `Default` for `CapacityError`
|
||||
|
||||
## [v0.9.1] - 2025-08-19
|
||||
|
||||
### Added
|
||||
|
@ -228,7 +228,7 @@ pub mod _export {
|
||||
}
|
||||
|
||||
/// The error type for fallible [`Vec`] and [`String`] methods.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Default)]
|
||||
#[non_exhaustive]
|
||||
pub struct CapacityError;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user