Skip to content

Commit ffea076

Browse files
authored
add missing comma
1 parent c49d102 commit ffea076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/lifetimes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fn skip_prefix<'a, 'b>(line: &'a str, prefix: &'b str) -> &'a str {
108108

109109
Let's examine the changes without going too deep into the syntax for now -
110110
we'll get to that later. The first change was adding the `<'a, 'b>` after the
111-
method name. This introduces two lifetime parameters: `'a` and `'b`. Next each
111+
method name. This introduces two lifetime parameters: `'a` and `'b`. Next, each
112112
reference in the function signature was associated with one of the lifetime
113113
parameters by adding the lifetime name after the `&`. This tells the compiler
114114
how the lifetimes between different references are related.

0 commit comments

Comments
 (0)