clippy appeasement

This commit is contained in:
Lennart
2025-12-31 12:29:19 +01:00
parent 15124a2fd5
commit ff0246c4fc

View File

@@ -70,6 +70,7 @@ pub enum MatchType {
}
impl MatchType {
#[must_use]
pub fn match_text(&self, collation: &TextCollation, needle: &str, haystack: &str) -> bool {
let haystack = collation.normalise(haystack);
let needle = collation.normalise(needle);