mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-27 01:27:37 +02:00
Clarify wording in lifetimes.md (#853)
This commit is contained in:
parent
186d333227
commit
5e42cc3548
@ -11,5 +11,5 @@ A borrowed value has a _lifetime_:
|
||||
* Lifetime annotations create constraints; the compiler verifies that there is
|
||||
a valid solution.
|
||||
* 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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user