Fix typo in lint dump script

This commit is contained in:
Oliver Schneider 2018-06-15 17:45:41 +02:00
parent 3d3d3732c0
commit 45bab501e1

View file

@ -177,7 +177,7 @@ def main(print_only=False, check=False):
]
for group in print_clippy_lint_groups:
sys.stdout.write('\n## ' + group + '\n')
for (_, name, _, descr) in sorted(clippy_lints[x]):
for (_, name, _, descr) in sorted(clippy_lints[group]):
sys.stdout.write('* [' + name + '](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#' + name + ') (' + descr + ')\n')
return