Merge pull request #602 from sgued/capacity-error-default

Implement default for capacity error
This commit is contained in:
Zeeshan Ali Khan 2025-08-27 14:47:25 +00:00 committed by GitHub
commit 6279f8a41e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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;