mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Stabilize rustdoc CHECK_INVALID_HTML_TAGS check
This commit is contained in:
committed by
Guillaume Gomez
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user