Skip to content

Commit 2153159

Browse files
committed
fix(error)!: Allow adding new errors
1 parent 1fabfc5 commit 2153159

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ impl fmt::Display for Unexpected {
3838

3939
/// Represents all possible errors that can occur when working with
4040
/// configuration.
41+
#[non_exhaustive]
4142
pub enum ConfigError {
4243
/// Configuration is frozen and no further mutations can be made.
4344
Frozen,

0 commit comments

Comments
 (0)