mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:09:22 +00:00
Removed unnecessary pipe escape (#3760)
This commit is contained in:
parent
31fff4b10e
commit
8dbffb576d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ fn generate_table(table_out: &mut String, rules: impl IntoIterator<Item = Rule>,
|
||||||
.is_some()
|
.is_some()
|
||||||
.then_some(format_args!("[{rule_name}](rules/{rule_name}.md)"))
|
.then_some(format_args!("[{rule_name}](rules/{rule_name}.md)"))
|
||||||
.unwrap_or(format_args!("{rule_name}")),
|
.unwrap_or(format_args!("{rule_name}")),
|
||||||
rule.message_formats()[0].replace('|', r"\|"),
|
rule.message_formats()[0],
|
||||||
fix_token
|
fix_token
|
||||||
));
|
));
|
||||||
table_out.push('\n');
|
table_out.push('\n');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue