Make SparseFormatErrorKind #[non_exhaustive]

This commit is contained in:
Andreas Longva 2020-09-25 15:11:43 +02:00
parent 4cd47327c9
commit 082416e3ec
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ impl SparseFormatError {
} }
/// The type of format error described by a [SparseFormatError](struct.SparseFormatError.html). /// The type of format error described by a [SparseFormatError](struct.SparseFormatError.html).
#[non_exhaustive]
#[derive(Debug, Clone, PartialEq, Eq)] #[derive(Debug, Clone, PartialEq, Eq)]
pub enum SparseFormatErrorKind { pub enum SparseFormatErrorKind {
/// Indicates that the index data associated with the format contains at least one index /// Indicates that the index data associated with the format contains at least one index