1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-08 16:40:00 +02:00

fix clippy lints

This commit is contained in:
Jan Lukas Gernert 2021-01-06 10:32:43 +01:00
parent 3138d664d6
commit b73448b189
2 changed files with 4 additions and 10 deletions

View file

@ -191,7 +191,7 @@ impl GrabberConfig {
}
}
fn split_values<'a>(values: &'a str) -> Vec<&'a str> {
fn split_values(values: &str) -> Vec<&str> {
values.split('|').map(|s| s.trim()).collect()
}
}