mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Resolve unused '#[allow(clippy::redundant_pattern_matching)]' error supressions
This commit is contained in:
parent
632eba0145
commit
f039321cd7
@ -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.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user