mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2026-03-03 23:20:53 +01:00
Optimize
This commit is contained in:
@@ -21,7 +21,7 @@ pub fn remove_wrong_chars(s: &str) -> String {
|
||||
}
|
||||
|
||||
pub fn parse_lang(s: &str) -> String {
|
||||
s.replace('-', "").replace('~', "").to_lowercase()
|
||||
s.replace(['-', '~'], "").to_lowercase()
|
||||
}
|
||||
|
||||
pub fn fix_annotation_text(text: &str) -> String {
|
||||
|
||||
Reference in New Issue
Block a user