Fix clippy warnings

Signed-off-by: ATechnoHazard <amolele@gmail.com>
This commit is contained in:
ATechnoHazard 2020-10-19 00:54:49 +05:30
parent 444564a43d
commit 05818aa251
No known key found for this signature in database
GPG Key ID: F475143EDEDEBA3C

View File

@ -38,7 +38,7 @@ fn main() -> anyhow::Result<()> {
upstream
.as_str()
.unwrap_or("None")
.split("/")
.split('/')
.collect::<Vec<&str>>()[2],
) {
repos.push(PersistableRepo {