diff --git a/CHANGELOG.md b/CHANGELOG.md index defc076686..2a321eb479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/lib.rs b/src/lib.rs index 08e0ab4ac2..656999eee4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;