Skip to content

Commit efb43fa

Browse files
committed
Fix clippy
This removes some extra unnecessary semicolons that `clippy` has recently begun to catch, causing CI to fail with errors such as: 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 #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 efb43fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gix-packetline/src/read/sidebands/async_io.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ where
300300
"interrupted by user",
301301
)))
302302
}
303-
};
303+
}
304304
}
305305
BandRef::Error(d) => {
306306
let text = TextRef::from(d).0;
@@ -312,9 +312,9 @@ where
312312
"interrupted by user",
313313
)))
314314
}
315-
};
315+
}
316316
}
317-
};
317+
}
318318
}
319319
None => {
320320
break match line.as_slice() {

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

+1-1
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)