Removed unnecessary pipe escape (#3760)

This commit is contained in:
trag1c 2023-03-27 19:49:47 +02:00 committed by GitHub
parent 31fff4b10e
commit 8dbffb576d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ fn generate_table(table_out: &mut String, rules: impl IntoIterator<Item = Rule>,
.is_some()
.then_some(format_args!("[{rule_name}](rules/{rule_name}.md)"))
.unwrap_or(format_args!("{rule_name}")),
rule.message_formats()[0].replace('|', r"\|"),
rule.message_formats()[0],
fix_token
));
table_out.push('\n');