Skip to content

Commit f9b8286

Browse files
committed
Marking ErrorKind enum as #[non_exhaustive]
1 parent 355449f commit f9b8286

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
@@ -33,6 +33,7 @@ impl ShapeError {
3333
///
3434
/// This enumeration is not exhaustive. The representation of the enum
3535
/// is not guaranteed.
36+
#[non_exhaustive]
3637
#[derive(Copy, Clone, Debug)]
3738
pub enum ErrorKind {
3839
/// incompatible shape

0 commit comments

Comments
 (0)