mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Merge pull request #2470 from flip1995/doc_conf
Fix name of configuration parameters in documentation
This commit is contained in:
commit
e061261c48
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def parse_configs(path):
|
|||
confvars = re.findall(confvar_re, match.group(1))
|
||||
|
||||
for (lint, doc, name, default, ty) in confvars:
|
||||
configs[lint.lower()] = Config(name, ty, doc, default)
|
||||
configs[lint.lower()] = Config(name.replace("_", "-"), ty, doc, default)
|
||||
|
||||
return configs
|
||||
|
||||
|
|
Loading…
Reference in a new issue