Skip to content

Commit 0c8dee3

Browse files
committed
Fix clippy
This removes an extra unnecessary semicolon that `clippy` has recently begun to catch, causing CI to fail with: error: unnecessary semicolon --> gix-transport/src/client/blocking_io/http/traits.rs:30:18 | 30 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon = note: `-D clippy::unnecessary-semicolon` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_semicolon)]` While it looks like this might first have been observed in GitoxideLabs#1917, it is unrelated to any change there. It happens when the current tip of main (4660f7a) is rerun, as observed in: https://github.com/EliahKagan/gitoxide/actions/runs/14254079128/job/39958292846
1 parent 4660f7a commit 0c8dee3

File tree

1 file changed

+1
-1
lines changed
  • gix-transport/src/client/blocking_io/http

1 file changed

+1
-1
lines changed

gix-transport/src/client/blocking_io/http/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl crate::IsSpuriousError for Error {
2727
#[cfg(feature = "http-client-reqwest")]
2828
if let Some(err) = source.downcast_ref::<crate::client::http::reqwest::remote::Error>() {
2929
return err.is_spurious();
30-
};
30+
}
3131
false
3232
}
3333
_ => false,

0 commit comments

Comments
 (0)