clippy nighytly fix

This commit is contained in:
extrawurst 2022-07-04 10:43:30 +02:00
parent c1cb868c4b
commit 1985fd2dbc

View file

@ -162,7 +162,7 @@ pub(crate) fn fetch(
.into_reference(); .into_reference();
let branch_ref = bytes2string(branch_ref.name_bytes())?; let branch_ref = bytes2string(branch_ref.name_bytes())?;
let remote_name = repo.branch_upstream_remote(&branch_ref)?; let remote_name = repo.branch_upstream_remote(&branch_ref)?;
let remote_name = bytes2string(&*remote_name)?; let remote_name = bytes2string(&remote_name)?;
let mut remote = repo.find_remote(&remote_name)?; let mut remote = repo.find_remote(&remote_name)?;
let mut options = FetchOptions::new(); let mut options = FetchOptions::new();