Skip to content

Commit 1370420

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 This runs `just clippy-fix` and `etc/copy-packetline.sh` to fix it.
1 parent 4660f7a commit 1370420

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 3 deletions
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

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)