We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a8442 commit 0303df0Copy full SHA for 0303df0
src/tools/rustfmt/src/test/configuration_snippet.rs
@@ -42,7 +42,8 @@ impl ConfigurationSection {
42
return Some(ConfigurationSection::CodeBlock((block, start_line)));
43
} else if let Some(c) = static_regex!(r"^## `([^`]+)`").captures(&line) {
44
return Some(ConfigurationSection::ConfigName(String::from(&c[1])));
45
- } else if let Some(c) = static_regex!(r#"^#### `"?([^`]+?)"?`"#).captures(&line) {
+ } else if let Some(c) = static_regex!(r#"^#### `"?([^`]+?)"?`"#).captures(&line)
46
+ {
47
// Configuration values, which will be passed to `from_str`
48
//
49
// - must be prefixed with `####`
0 commit comments