1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-16 04:12:53 +01:00

cargo clippy and cargo fmt

Dieser Commit ist enthalten in:
BlockListed 2023-09-09 18:53:45 +02:00
Ursprung 298cf8adcb
Commit 335984ee28
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 2D204777C477B588

Datei anzeigen

@ -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| {