mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Make starts_with_ignore_case() private
This commit is contained in:
@@ -37,7 +37,7 @@ impl Into<Lot> for Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn starts_with_ignore_case(string: &str, pattern: &str) -> bool {
|
fn starts_with_ignore_case(string: &str, pattern: &str) -> bool {
|
||||||
string.to_lowercase().starts_with(&pattern.to_lowercase())
|
string.to_lowercase().starts_with(&pattern.to_lowercase())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user