mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-26 01:30:22 +02:00
Update lifetimes.md (#739)
* Update lifetimes.md Don't think elidied is a word, nothing comes up if I google it. I think omitted works here. * Update lifetimes.md
This commit is contained in:
parent
5de9cdafea
commit
ff3fa50597
@ -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 elidied in most cases with [a few simple
|
||||
but Rust allows these to be elided in most cases with [a few simple
|
||||
rules](https://doc.rust-lang.org/nomicon/lifetime-elision.html).
|
||||
|
Loading…
Reference in New Issue
Block a user