Skip to content

Commit c9907ad

Browse files
committed
In retrospect, MachineApplicable is probably too confident
1 parent 214ce57 commit c9907ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/passes/html_tags.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ impl<'a, 'tcx> DocVisitor for InvalidHtmlTagsLinter<'a, 'tcx> {
239239
generics_sp,
240240
"try marking as source code with `backticks`",
241241
format!("`{}`", generics_snippet),
242-
Applicability::MachineApplicable,
242+
Applicability::MaybeIncorrect,
243243
);
244244
} else {
245245
diag.span_help(

0 commit comments

Comments
 (0)