From 0a9c1d6fee9f7cf0612cc1e9b94fcdb6b33bc5c4 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sat, 24 Jul 2021 20:19:16 +0200 Subject: [PATCH] Resolve unused '#[allow(clippy::redundant_pattern_matching)]' error supressions --- common/src/terrain/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/terrain/map.rs b/common/src/terrain/map.rs index 497d7740db..16e513da73 100644 --- a/common/src/terrain/map.rs +++ b/common/src/terrain/map.rs @@ -147,7 +147,7 @@ impl MapSizeLg { // 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`, // 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 /// do not hold and the vector otherwise. ///