mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 10:26:30 +00:00
Fix clippy warnings (#151)
This commit is contained in:
parent
2b395df4a2
commit
aee38f5c2b
1 changed files with 2 additions and 2 deletions
|
@ -276,11 +276,11 @@ impl Engine {
|
||||||
let manifest_path = path.join(RelativePath::new("Cargo.toml"));
|
let manifest_path = path.join(RelativePath::new("Cargo.toml"));
|
||||||
|
|
||||||
let mut service = self.retrieve_file_at_path.clone();
|
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<Arc<Database>, Error> {
|
async fn fetch_advisory_db(&self) -> Result<Arc<Database>, Error> {
|
||||||
Ok(self.fetch_advisory_db.cached_query(()).await?)
|
self.fetch_advisory_db.cached_query(()).await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue