1
Fork 0

improve E0585 help

This commit is contained in:
Rageking8 2022-09-27 16:08:04 +08:00
parent 09ae7846a2
commit 2ee2ffa9a7
19 changed files with 22 additions and 22 deletions

View file

@ -760,8 +760,8 @@ impl<'a> Parser<'a> {
)
.span_label(self.token.span, "this doc comment doesn't document anything")
.help(
"doc comments must come before what they document, maybe a \
comment was intended with `//`?",
"doc comments must come before what they document, if a comment was \
intended use `//`",
)
.emit();
self.bump();