Skip to content

Commit

Permalink
Merge pull request rust-lang#162 from robinst/patch-1
Browse files Browse the repository at this point in the history
Fix "&mut sef" typo in RFC 39 Lifetime Elision
  • Loading branch information
alexcrichton committed Jul 14, 2014
2 parents aa30d94 + 5c61b38 commit dd6f306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion active/0039-lifetime-elision.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Lifetime positions can appear as either "input" or "output":
is assigned to _all_ elided output lifetimes.

* If there are multiple input lifetime positions, but one of them is `&self` or
`&mut sef`, the lifetime of `self` is assigned to _all_ elided output lifetimes.
`&mut self`, the lifetime of `self` is assigned to _all_ elided output lifetimes.

* Otherwise, it is an error to elide an output lifetime.

Expand Down

0 comments on commit dd6f306

Please sign in to comment.