Skip to content

Commit

Permalink
Merge pull request rust-lang#1826 from xtian/patch-1
Browse files Browse the repository at this point in the history
ch10-03-lifetime-syntax.md: Improve sentence structure in method lifetime elision section
  • Loading branch information
carols10cents authored Feb 20, 2019
2 parents 540f308 + 2c44e9b commit 059c99f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ch10-03-lifetime-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,9 @@ impl<'a> ImportantExcerpt<'a> {
}
```

The lifetime parameter declaration after `impl` and use after the type name is
required, but we’re not required to annotate the lifetime of the reference to
`self` because of the first elision rule.
The lifetime parameter declaration after `impl` and its use after the type name
are required, but we’re not required to annotate the lifetime of the reference
to `self` because of the first elision rule.

Here is an example where the third lifetime elision rule applies:

Expand Down

0 comments on commit 059c99f

Please sign in to comment.