From aee38f5c2bcf5413484196f9eb64fa3f76602476 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Fri, 22 Apr 2022 22:05:38 +0200 Subject: [PATCH] Fix clippy warnings (#151) --- src/engine/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/mod.rs b/src/engine/mod.rs index 327c2a5..b37a445 100644 --- a/src/engine/mod.rs +++ b/src/engine/mod.rs @@ -276,11 +276,11 @@ impl Engine { let manifest_path = path.join(RelativePath::new("Cargo.toml")); let mut service = self.retrieve_file_at_path.clone(); - Ok(service.call((repo_path.clone(), manifest_path)).await?) + service.call((repo_path.clone(), manifest_path)).await } async fn fetch_advisory_db(&self) -> Result, Error> { - Ok(self.fetch_advisory_db.cached_query(()).await?) + self.fetch_advisory_db.cached_query(()).await } }