Skip to content

Commit f92d294

Browse files
Stabilize rustdoc CHECK_INVALID_HTML_TAGS check
1 parent 7482e5b commit f92d294

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/librustdoc/passes/html_tags.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ struct InvalidHtmlTagsLinter<'a, 'tcx> {
2222
}
2323

2424
pub(crate) fn check_invalid_html_tags(krate: Crate, cx: &mut DocContext<'_>) -> Crate {
25-
if cx.tcx.sess.is_nightly_build() {
26-
let mut coll = InvalidHtmlTagsLinter { cx };
27-
coll.visit_crate(&krate);
28-
}
25+
let mut coll = InvalidHtmlTagsLinter { cx };
26+
coll.visit_crate(&krate);
2927
krate
3028
}
3129

0 commit comments

Comments
 (0)