Skip to content

rustdoc: correct unclosed HTML tags as generics #93569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
In retrospect, MachineApplicable is probably too confident
  • Loading branch information
notriddle committed Feb 2, 2022
commit c9907ad853f9d4837f62c3a00f0d33fba562d8e3
2 changes: 1 addition & 1 deletion src/librustdoc/passes/html_tags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl<'a, 'tcx> DocVisitor for InvalidHtmlTagsLinter<'a, 'tcx> {
generics_sp,
"try marking as source code with `backticks`",
format!("`{}`", generics_snippet),
Applicability::MachineApplicable,
Applicability::MaybeIncorrect,
);
} else {
diag.span_help(
Expand Down