mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 20:53:21 +00:00
Fix name of configuration parameters in documentation
This commit is contained in:
parent
038b17f3a6
commit
339d2d5be0
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