Skip to content

Commit aa570bc

Browse files
committed
Fix lifetimes trpl typo
1 parent b301e02 commit aa570bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/lifetimes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ to it.
219219
## Lifetime Elision
220220

221221
Rust supports powerful local type inference in function bodies, but it’s
222-
forbidden in item signatures to allow reasoning about the types just based in
222+
forbidden in item signatures to allow reasoning about the types based on
223223
the item signature alone. However, for ergonomic reasons a very restricted
224224
secondary inference algorithm called “lifetime elision” applies in function
225225
signatures. It infers only based on the signature components themselves and not

0 commit comments

Comments
 (0)