Make SparseFormatErrorKind #[non_exhaustive]

This commit is contained in:
Andreas Longva 2020-09-25 15:11:43 +02:00
parent 4cd47327c9
commit 082416e3ec

View File

@ -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