Fix clippy::manual_ignore_case_cmp warnings

This commit is contained in:
einfachIrgendwer0815 committed 2025-02-02 15:08:14 +01:00
1 parent 095442191c
commit 625e986552
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ fn to_path_and_stem(source_dir: &Path, entry: DirEntry) -> Option<PathAndStem> {
fn handle_file(path_and_stem: &PathAndStem) -> Result<Option<String>> {
if path_and_stem.stem == "NOTICE" {
handle_notice(&path_and_stem.path)
} else if path_and_stem.stem.to_ascii_uppercase() == "LICENSE" {
} else if path_and_stem.stem.eq_ignore_ascii_case("LICENSE") {
handle_license(&path_and_stem.path)
} else {
Ok(None)