summaryrefslogtreecommitdiffstats
path: root/tests/ui/return/tail-expr-as-potential-return.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/return/tail-expr-as-potential-return.rs')
-rw-r--r--tests/ui/return/tail-expr-as-potential-return.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/return/tail-expr-as-potential-return.rs b/tests/ui/return/tail-expr-as-potential-return.rs
index f46e088b8..2046d6680 100644
--- a/tests/ui/return/tail-expr-as-potential-return.rs
+++ b/tests/ui/return/tail-expr-as-potential-return.rs
@@ -1,8 +1,8 @@
-// > Suggest `return`ing tail expressions that match return type
+// > Suggest returning tail expressions that match return type
// >
// > Some newcomers are confused by the behavior of tail expressions,
// > interpreting that "leaving out the `;` makes it the return value".
-// > To help them go in the right direction, suggest using `return` instead
+// > To help them go in the right direction, suggest using return instead
// > when applicable.
// (original commit description for this test)
//