Skip to content

Commit bd9624d

Browse files
committed
tidy: fix bug in rustdoc_json check introduced by rewrite
1 parent 7b64d93 commit bd9624d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/tidy/src/rustdoc_json.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub fn check(src_path: &Path, ci_info: &crate::CiInfo, bad: &mut bool) {
1717
if crate::files_modified(ci_info, |p| p == RUSTDOC_JSON_TYPES) {
1818
// `rustdoc-json-types` was not modified so nothing more to check here.
1919
println!("`rustdoc-json-types` was not modified.");
20+
return;
2021
}
2122
// Then we check that if `FORMAT_VERSION` was updated, the `Latest feature:` was also updated.
2223
match crate::git_diff(&base_commit, src_path.join("rustdoc-json-types")) {

0 commit comments

Comments
 (0)