about summary refs log tree commit diff
path: root/src/test/ui/parser/doc-before-rbrace.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/doc-before-rbrace.stderr')
-rw-r--r--src/test/ui/parser/doc-before-rbrace.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/parser/doc-before-rbrace.stderr b/src/test/ui/parser/doc-before-rbrace.stderr
index 55719cf6411..4d4741dfe59 100644
--- a/src/test/ui/parser/doc-before-rbrace.stderr
+++ b/src/test/ui/parser/doc-before-rbrace.stderr
@@ -4,7 +4,7 @@ error[E0585]: found a documentation comment that doesn't document anything
 LL |     println!("Hi"); /// hi
    |                     ^^^^^^
    |
-   = help: doc comments must come before what they document, maybe a comment was intended with `//`?
+   = help: doc comments must come before what they document, if a comment was intended use `//`
 
 error: aborting due to previous error