Skip to content

Commit 2a0bd6d

Browse files
authored
Typos
1 parent a542302 commit 2a0bd6d

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
@@ -56,7 +56,7 @@ To fix this, we have to make sure that step four never happens after step
5656
three. The ownership system in Rust does this through a concept called
5757
lifetimes, which describe the scope that a reference is valid for.
5858

59-
**Note** It's important to understand that lifetime annotations are _descriptive_ not _prescriptive_. This means that who long a reference is valid is determined by the code, not by the annotations. The annotations, however, point out this fact to the compiler in case it can't figure it out by itself.
59+
**Note** It's important to understand that lifetime annotations are _descriptive_, not _prescriptive_. This means that how long a reference is valid is determined by the code, not by the annotations. The annotations, however, point out this fact to the compiler in case it can't figure it out by itself.
6060

6161
When we have a function that takes an argument by reference, we can be
6262
implicit or explicit about the lifetime of the reference:

0 commit comments

Comments
 (0)