diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-09-16 12:04:31 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-09-16 12:06:22 +0200 |
commit | fbb62096cfe769a51ac072976782e35236181061 (patch) | |
tree | ac9586509df8c7d48f9a4cbd2c3127902a1664bd /src | |
parent | 7fa55210e54e49e419d9e0bcff3ca7f144aac597 (diff) |
Fix clippy: Remove needless borrow
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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")? } |