Skip to content

Commit e6e615a

Browse files
committed
Implement default for capacity error
Fix #601
1 parent 7876b71 commit e6e615a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
- Minor fixes to module docs.
1111
- Make MSRV of 1.87.0 explicit.
1212

13+
- Implement `Default` for `CapacityError`
14+
1315
## [v0.9.1] - 2025-08-19
1416

1517
### Added

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ pub mod _export {
228228
}
229229

230230
/// The error type for fallible [`Vec`] and [`String`] methods.
231-
#[derive(Debug)]
231+
#[derive(Debug, Default)]
232232
#[non_exhaustive]
233233
pub struct CapacityError;
234234

0 commit comments

Comments
 (0)