chore: Appease clippy
This commit is contained in:
parent
8ae8de4d51
commit
25c56b7000
|
@ -774,7 +774,7 @@ impl FromStr for StageQuality {
|
|||
type Err = ParseEnumError;
|
||||
|
||||
// clippy: False positive pending https://github.com/rust-lang/rust-clippy/pull/7865
|
||||
#[allow(clippy::match_str_case_mismatch)]
|
||||
#[allow(unknown_lints, clippy::match_str_case_mismatch)]
|
||||
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
||||
let quality = match s.to_ascii_lowercase().as_str() {
|
||||
"low" => StageQuality::Low,
|
||||
|
|
Loading…
Reference in New Issue