diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-07-31 12:37:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-31 12:37:06 +0000 |
| commit | fab7eab7fbedef1e352884f3dafffa2a9fab048b (patch) | |
| tree | 082d83a6c884b8f13b325b62e28945b3cf560426 | |
| parent | 3c54672d1a3b7b4008fd99db6c16dfff24018f74 (diff) | |
| parent | c57876242df63e33e2ccb268e386de1ee38c70dd (diff) | |
| download | rust-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.rs | 2 |
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(()) |
