Make starts_with_ignore_case() private

This commit is contained in:
jikstra
2020-04-28 21:22:48 +02:00
committed by link2xt
parent 1b485770b6
commit 551f7dc05a

View File

@@ -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())
}