Browse Source

cargo clippy and cargo fmt

pull/3870/merge^2
BlockListed 2 years ago
parent
commit
335984ee28
No known key found for this signature in database GPG Key ID: 2D204777C477B588
  1. 3
      src/config.rs

3
src/config.rs

@ -1020,7 +1020,8 @@ pub fn extract_url_origin(url: &str) -> String {
// urls should be comma-seperated // urls should be comma-seperated
fn extract_origins(urls: &str) -> String { fn extract_origins(urls: &str) -> String {
let mut origins = urls.split(',') let mut origins = urls
.split(',')
.map(extract_url_origin) .map(extract_url_origin)
// TODO add itertools as dependency maybe // TODO add itertools as dependency maybe
.fold(String::new(), |mut acc, origin| { .fold(String::new(), |mut acc, origin| {

Loading…
Cancel
Save