mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-04 00:21:57 +00:00
Added an allow of clippy::single_match_else.
This commit is contained in:
parent
e690763fc3
commit
de556f37da
@ -44,7 +44,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -61,7 +61,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
// We're fine with shadowing, as long as it's related
|
||||
#![allow(clippy::shadow_reuse, clippy::shadow_same)]
|
||||
// Matching on booleans can look better than `if / else`
|
||||
#![allow(clippy::match_bool)]
|
||||
#![allow(clippy::match_bool, clippy::single_match_else)]
|
||||
// If the `else` isn't needed, we don't put it
|
||||
#![allow(clippy::else_if_without_else)]
|
||||
// We're fine with non-exhaustive structs / enums, we aren't committing to them yet.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user