Skip to content

Commit 6da0b9d

Browse files
committed
rollup merge of #23629: liammonahan/master
Found a small typo on the Rust book "ownership" page. Best, Liam r? @steveklabnik
2 parents 6106345 + 37dc801 commit 6da0b9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/ownership.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@ Otherwise, it is an error to elide an output lifetime.
513513

514514
### Examples
515515

516-
Here are some examples of functions with elided lifetimes, and the version of
517-
what the elided lifetimes are expand to:
516+
Here are some examples of functions with elided lifetimes. We've paired each
517+
example of an elided lifetime with its expanded form.
518518

519519
```{rust,ignore}
520520
fn print(s: &str); // elided

0 commit comments

Comments
 (0)