From acf164a1a27163ee7cae013e8af70e7c4076d44a Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Mon, 23 Jun 2025 14:24:08 +0200 Subject: [PATCH] Make clippy happy --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 2de958f..375ee00 100644 --- a/src/config.rs +++ b/src/config.rs @@ -251,7 +251,7 @@ fn parse_key>(key: S) -> Result { } 3 => { - if chars[0].to_ascii_uppercase() == 'C' + if chars[0].eq_ignore_ascii_case(&'C') && ['+', '-'].contains(&chars[1]) && chars[2].is_ascii_alphabetic() {