mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-25 21:58:26 +01:00
Re-add necessary references section in 06/06
This commit is contained in:
parent
1a452230ed
commit
a111eed575
1 changed files with 3 additions and 0 deletions
|
@ -77,5 +77,8 @@ You can think of `'_` as a **placeholder** for the lifetime of the `&self` refer
|
|||
See the [References](#references) section for a link to the official documentation on lifetime elision.\
|
||||
In most cases, you can rely on the compiler telling you when you need to add explicit lifetime annotations.
|
||||
|
||||
## References
|
||||
|
||||
- [std::vec::Vec::iter](https://doc.rust-lang.org/std/vec/struct.Vec.html#method.iter)
|
||||
- [std::slice::Iter](https://doc.rust-lang.org/std/slice/struct.Iter.html)
|
||||
- [Lifetime elision rules](https://doc.rust-lang.org/reference/lifetime-elision.html)
|
||||
|
|
Loading…
Reference in a new issue