You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-23 17:26:44 +02:00
Clarify wording in lifetimes.md (#853)
This commit is contained in:
@ -11,5 +11,5 @@ A borrowed value has a _lifetime_:
|
|||||||
* Lifetime annotations create constraints; the compiler verifies that there is
|
* Lifetime annotations create constraints; the compiler verifies that there is
|
||||||
a valid solution.
|
a valid solution.
|
||||||
* Lifetimes for function arguments and return values must be fully specified,
|
* Lifetimes for function arguments and return values must be fully specified,
|
||||||
but Rust allows these to be elided in most cases with [a few simple
|
but Rust allows lifetimes to be elided in most cases with [a few simple
|
||||||
rules](https://doc.rust-lang.org/nomicon/lifetime-elision.html).
|
rules](https://doc.rust-lang.org/nomicon/lifetime-elision.html).
|
||||||
|
Reference in New Issue
Block a user