Skip to content

Commit 1d961fd

Browse files
committed
Rollup merge of rust-lang#25604 - skeuomorf:docs-lifetime, r=steveklabnik
r? @steveklabnik
2 parents 6fc93b8 + aa570bc commit 1d961fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/lifetimes.md

Lines changed: 1 addition & 1 deletion
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)