Skip to content

Commit 60ad713

Browse files
committed
update paths in lint doc generation that changed with the creation of the clippy_utils crate
1 parent 489c4f0 commit 60ad713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/lintlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def parse_lints(lints, filepath):
8787

8888
def parse_configs(path):
8989
configs = {}
90-
with open(os.path.join(path, 'utils/conf.rs')) as fp:
90+
with open(path) as fp:
9191
contents = fp.read()
9292

9393
match = re.search(conf_re, contents)
@@ -108,7 +108,7 @@ def parse_all(path="clippy_lints/src"):
108108

109109
log.info("got %s lints", len(lints))
110110

111-
configs = parse_configs(path)
111+
configs = parse_configs("clippy_utils/src/conf.rs")
112112
log.info("got %d configs", len(configs))
113113

114114
return lints, configs

0 commit comments

Comments
 (0)