Auto merge of #143064 - flip1995:clippy-subtree-update, r=GuillaumeGomez

Clippy subtree update

r? `@Manishearth`

Cargo.lock update due to version bump
This commit is contained in:
bors 2025-06-27 20:07:50 +00:00
commit bdaba05a95
157 changed files with 3179 additions and 855 deletions

View file

@ -202,7 +202,9 @@ impl<'a> Renderer<'a> {
}
fn render_test_outcome_terse(&mut self, outcome: Outcome<'_>, test: &TestOutcome) {
if self.terse_tests_in_line != 0 && self.terse_tests_in_line % TERSE_TESTS_PER_LINE == 0 {
if self.terse_tests_in_line != 0
&& self.terse_tests_in_line.is_multiple_of(TERSE_TESTS_PER_LINE)
{
if let Some(total) = self.tests_count {
let total = total.to_string();
let executed = format!("{:>width$}", self.executed_tests - 1, width = total.len());