mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 11:48:18 +00:00
clippy appeasement
This commit is contained in:
@@ -70,6 +70,7 @@ pub enum MatchType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl MatchType {
|
impl MatchType {
|
||||||
|
#[must_use]
|
||||||
pub fn match_text(&self, collation: &TextCollation, needle: &str, haystack: &str) -> bool {
|
pub fn match_text(&self, collation: &TextCollation, needle: &str, haystack: &str) -> bool {
|
||||||
let haystack = collation.normalise(haystack);
|
let haystack = collation.normalise(haystack);
|
||||||
let needle = collation.normalise(needle);
|
let needle = collation.normalise(needle);
|
||||||
|
|||||||
Reference in New Issue
Block a user