diff --git a/src/expressions/return-expr.md b/src/expressions/return-expr.md index b76a34a989250..9d0acf055f0c3 100644 --- a/src/expressions/return-expr.md +++ b/src/expressions/return-expr.md @@ -1,5 +1,9 @@ # `return` expressions +> **Syntax** +> _ReturnExpression_ : +>    `return` [_Expression_]? + Return expressions are denoted with the keyword `return`. Evaluating a `return` expression moves its argument into the designated output location for the current function call, destroys the current function activation frame, and @@ -15,3 +19,5 @@ fn max(a: i32, b: i32) -> i32 { return b; } ``` + +[_Expression_]: expressions.html