FIX: Make clippy happy. automatic update

This commit is contained in:
Nicolás Hatcher
2025-04-15 15:27:21 +02:00
committed by Nicolás Hatcher Andrés
parent 793534b190
commit 7756ef7f48
4 changed files with 13 additions and 34 deletions

View File

@@ -197,7 +197,7 @@ pub fn is_english_error_string(name: &str) -> bool {
"#REF!", "#NAME?", "#VALUE!", "#DIV/0!", "#N/A", "#NUM!", "#ERROR!", "#N/IMPL!", "#SPILL!",
"#CALC!", "#CIRC!", "#NULL!",
];
names.iter().any(|e| *e == name)
names.contains(&name)
}
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]