Only include rule links once in README (#2678)

This commit is contained in:
Charlie Marsh 2023-02-08 21:48:05 -05:00 committed by GitHub
parent 31027497c6
commit 5a07c9f57c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 12 deletions

View file

@ -36,10 +36,8 @@ fn generate_table(table_out: &mut String, rules: impl IntoIterator<Item = Rule>)
if rule.explanation().is_some() {
table_out.push_str(&format!(
"| [{}]({}/{}.md) | [{}]({}/{}.md) | {} | {} |",
"| {} | [{}]({}/{}.md) | {} | {} |",
rule.code(),
URL_PREFIX,
rule.as_ref(),
rule.as_ref(),
URL_PREFIX,
rule.as_ref(),