Fix a typo in the Rust Book ownership page.
This commit is contained in:
parent
b0aad7dd4f
commit
558c427cd3
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, along with versions
|
||||
of what the elided lifetimes expand to:
|
||||
|
||||
```{rust,ignore}
|
||||
fn print(s: &str); // elided
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue