Skip to content

Commit 73d4417

Browse files
committed
manual: remove 'analogy' between return and return. meaningless.
1 parent 544d36b commit 73d4417

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/rust.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,8 +2330,7 @@ return_expr : "return" expr ? ;
23302330
~~~~~~~~
23312331

23322332
Return expressions are denoted with the keyword `return`. Evaluating a `return`
2333-
expression^[A `return` expression is analogous to a `return` expression
2334-
in the C family.] moves its argument into the output slot of the current
2333+
expression moves its argument into the output slot of the current
23352334
function, destroys the current function activation frame, and transfers
23362335
control to the caller frame.
23372336

0 commit comments

Comments
 (0)