mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 15:18:22 +00:00
clippy appeasement
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user