From 082416e3ec12cd355d6b8f12c0d9d2ffcaa03d6b Mon Sep 17 00:00:00 2001 From: Andreas Longva Date: Fri, 25 Sep 2020 15:11:43 +0200 Subject: [PATCH] Make SparseFormatErrorKind #[non_exhaustive] --- nalgebra-sparse/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nalgebra-sparse/src/lib.rs b/nalgebra-sparse/src/lib.rs index 9621d973..7bcb78a9 100644 --- a/nalgebra-sparse/src/lib.rs +++ b/nalgebra-sparse/src/lib.rs @@ -103,6 +103,7 @@ impl SparseFormatError { } /// The type of format error described by a [SparseFormatError](struct.SparseFormatError.html). +#[non_exhaustive] #[derive(Debug, Clone, PartialEq, Eq)] pub enum SparseFormatErrorKind { /// Indicates that the index data associated with the format contains at least one index