mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-30 00:23:41 +00:00
Stabilize rustdoc CHECK_INVALID_HTML_TAGS check
This commit is contained in:
parent
c23ed655eb
commit
d9570e0510
@ -22,10 +22,8 @@ struct InvalidHtmlTagsLinter<'a, 'tcx> {
|
||||
}
|
||||
|
||||
pub(crate) fn check_invalid_html_tags(krate: Crate, cx: &mut DocContext<'_>) -> Crate {
|
||||
if cx.tcx.sess.is_nightly_build() {
|
||||
let mut coll = InvalidHtmlTagsLinter { cx };
|
||||
coll.visit_crate(&krate);
|
||||
}
|
||||
let mut coll = InvalidHtmlTagsLinter { cx };
|
||||
coll.visit_crate(&krate);
|
||||
krate
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user