mirror of
https://github.com/qwjyh/xdbm
synced 2025-04-18 18:55:51 +09:00
lint: remove unnecessary ref
This commit is contained in:
parent
63c6c397c3
commit
d86d6fb898
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue