Output lintcheck summary HTML markdown in order (#15371)

The data in the table needs to be in the same order as the headings.

changelog: none

Fixes rust-lang/rust-clippy#15370
This commit is contained in:
Alejandra González 2025-07-31 12:37:06 +00:00 committed by GitHub
commit fab7eab7fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ impl fmt::Display for Summary {
} in &self.0
{
let html_id = to_html_id(name);
writeln!(f, "| [`{name}`](#{html_id}) | {added} | {changed} | {removed} |")?;
writeln!(f, "| [`{name}`](#{html_id}) | {added} | {removed} | {changed} |")?;
}
Ok(())