summaryrefslogtreecommitdiffstats
path: root/src/repository/repository.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-13 08:50:48 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-15 23:21:39 +0100
commitaea2ad67fc1f6a1ad3691116ec884934680b08bd (patch)
tree0c7ac8cd7a2d6922e0db7e19d7d7fd228027174c /src/repository/repository.rs
parent84a56de77fd2a765344f2a16c8cf8cca16a70d3b (diff)
Fix clippy: unneeded `return` statement
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/repository/repository.rs')
-rw-r--r--src/repository/repository.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository/repository.rs b/src/repository/repository.rs
index 3d585ce..1298606 100644
--- a/src/repository/repository.rs
+++ b/src/repository/repository.rs
@@ -52,7 +52,7 @@ impl Repository {
}
}
- return Ok(v)
+ Ok(v)
}
fn load_recursive(path: &Path, mut config: config::Config, progress: &indicatif::ProgressBar) -> Result<Vec<Result<Package>>> {