From d86d6fb89821d9a49646f7a880ce949447aa8eb3 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sun, 2 Mar 2025 01:22:16 +0900 Subject: [PATCH] lint: remove unnecessary ref --- src/cmd_sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd_sync.rs b/src/cmd_sync.rs index b447c3e..a5aedfe 100644 --- a/src/cmd_sync.rs +++ b/src/cmd_sync.rs @@ -299,7 +299,7 @@ fn push( ssh_key: Option<&PathBuf>, ) -> Result<()> { debug!("push"); - let callbacks = remote_callback(&use_sshagent, ssh_key); + let callbacks = remote_callback(use_sshagent, ssh_key); let mut push_options = PushOptions::new(); push_options.remote_callbacks(callbacks); let num_push_refspecs = remote