Improve the wording of the example section description on the ownership page
to make it more clear.
This commit is contained in:
parent
558c427cd3
commit
37dc801fe6
1 changed files with 2 additions and 2 deletions
|
|
@ -513,8 +513,8 @@ Otherwise, it is an error to elide an output lifetime.
|
|||
|
||||
### Examples
|
||||
|
||||
Here are some examples of functions with elided lifetimes, along with versions
|
||||
of what the elided lifetimes expand to:
|
||||
Here are some examples of functions with elided lifetimes. We've paired each
|
||||
example of an elided lifetime with its expanded form.
|
||||
|
||||
```{rust,ignore}
|
||||
fn print(s: &str); // elided
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue