From 09dcbefb0ea3e8993989354d20b475636c6f86fd Mon Sep 17 00:00:00 2001 From: Vince Buffalo Date: Sun, 1 Oct 2023 21:17:25 -0700 Subject: [PATCH] fixed clippy warning --- Cargo.toml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 35287e9..6a694ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scidataflow" -version = "0.8.4" +version = "0.8.5" edition = "2021" exclude = ["logo.png", "tests/test_data/**"] license = "MIT" diff --git a/src/main.rs b/src/main.rs index 6fb159e..6784782 100644 --- a/src/main.rs +++ b/src/main.rs @@ -333,7 +333,7 @@ async fn run() -> Result<()> { let msg = "Set either --github, --url, or specify an SciDataFlow Asset name."; let url = match (github, url, asset) { (Some(gh), None, None) => { - let gh = GitHubRepo::new(&gh).map_err(|e| { + let gh = GitHubRepo::new(gh).map_err(|e| { anyhow!("GitHubRepo initialization failed: {}", e) })?; gh.url("data_manifest.yml")