Resolve unused '#[allow(clippy::redundant_pattern_matching)]' error supressions

This commit is contained in:
Dr. Dystopia 2021-07-24 20:19:16 +02:00
parent 632eba0145
commit f039321cd7

View File

@ -147,7 +147,7 @@ impl MapSizeLg {
// not technically been stabilized yet, Clippy probably doesn't check for this // not technically been stabilized yet, Clippy probably doesn't check for this
// case yet. When it can, or when is_some() is stabilized as a `const fn`, // case yet. When it can, or when is_some() is stabilized as a `const fn`,
// we should deal with this. // we should deal with this.
#[allow(clippy::redundant_pattern_matching, clippy::result_unit_err)] #[allow(clippy::result_unit_err)]
/// Construct a new `MapSizeLg`, returning an error if the needed invariants /// Construct a new `MapSizeLg`, returning an error if the needed invariants
/// do not hold and the vector otherwise. /// do not hold and the vector otherwise.
/// ///