Fix clippy
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 42s

This commit is contained in:
Wojciech Kozlowski 2024-01-10 09:17:15 +01:00
parent 44675c9cbe
commit d0e04d8a78

View File

@ -484,7 +484,7 @@ impl Artist {
let mut new_urls = urls
.iter()
.map(|url| url.as_ref().try_into())
.filter(|ref res| {
.filter(|res| {
res.as_ref()
.map(|url| !container.contains(url))
.unwrap_or(true) // Propagate errors.