rollup merge of #23629: liammonahan/master
Found a small typo on the Rust book "ownership" page. Best, Liam r? @steveklabnik
This commit is contained in:
commit
6da0b9dedb
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, and the version of
|
||||
what the elided lifetimes are 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