Minor clippy performance suggestions

This commit is contained in:
kjeremy 2020-09-30 15:22:49 -04:00
parent 7c9ae771bc
commit 82d6cfd495
6 changed files with 7 additions and 7 deletions

View file

@ -145,7 +145,7 @@ impl Crate {
}
}).flat_map(|t| t).next();
doc_url.map(|s| s.trim_matches('"').trim_end_matches("/").to_owned() + "/")
doc_url.map(|s| s.trim_matches('"').trim_end_matches('/').to_owned() + "/")
}
}