Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
GKFX committed Apr 28, 2024
1 parent a0a8442 commit 0303df0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/rustfmt/src/test/configuration_snippet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ impl ConfigurationSection {
return Some(ConfigurationSection::CodeBlock((block, start_line)));
} else if let Some(c) = static_regex!(r"^## `([^`]+)`").captures(&line) {
return Some(ConfigurationSection::ConfigName(String::from(&c[1])));
} else if let Some(c) = static_regex!(r#"^#### `"?([^`]+?)"?`"#).captures(&line) {
} else if let Some(c) = static_regex!(r#"^#### `"?([^`]+?)"?`"#).captures(&line)
{
// Configuration values, which will be passed to `from_str`
//
// - must be prefixed with `####`
Expand Down

0 comments on commit 0303df0

Please sign in to comment.