about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-07-31 12:37:06 +0000
committerGitHub <noreply@github.com>2025-07-31 12:37:06 +0000
commitfab7eab7fbedef1e352884f3dafffa2a9fab048b (patch)
tree082d83a6c884b8f13b325b62e28945b3cf560426
parent3c54672d1a3b7b4008fd99db6c16dfff24018f74 (diff)
parentc57876242df63e33e2ccb268e386de1ee38c70dd (diff)
downloadrust-fab7eab7fbedef1e352884f3dafffa2a9fab048b.tar.gz
rust-fab7eab7fbedef1e352884f3dafffa2a9fab048b.zip
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
-rw-r--r--lintcheck/src/json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lintcheck/src/json.rs b/lintcheck/src/json.rs
index 808997ff022..79c1255c5ff 100644
--- a/lintcheck/src/json.rs
+++ b/lintcheck/src/json.rs
@@ -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(())