Skip to content

Commit 9b8363b

Browse files
committed
Fix false positive clippy warning.
Cannot move similar statements up as they are violating borrow check rules then.
1 parent 75879b0 commit 9b8363b

File tree

1 file changed

+1
-0
lines changed
  • git-transport/src/client/blocking_io/http/curl

1 file changed

+1
-0
lines changed

git-transport/src/client/blocking_io/http/curl/remote.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ pub fn new() -> (
145145
break;
146146
}
147147

148+
#[allow(clippy::branches_sharing_code)]
148149
if let Err(err) = handle.perform() {
149150
let handler = handle.get_mut();
150151
handler.reset();

0 commit comments

Comments
 (0)