From fbb62096cfe769a51ac072976782e35236181061 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 16 Sep 2021 12:04:31 +0200 Subject: Fix clippy: Remove needless borrow Signed-off-by: Matthias Beyer --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1dc49f9..5b0ddba 100644 --- a/src/main.rs +++ b/src/main.rs @@ -243,7 +243,7 @@ async fn main() -> Result<()> { Some(("metrics", _)) => { let repo = load_repo()?; let conn = db_connection_config.establish_connection()?; - crate::commands::metrics(&repo_path, &config, repo, conn) + crate::commands::metrics(repo_path, &config, repo, conn) .await .context("metrics command failed")? } -- cgit v1.2.3