mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 07:20:30 +00:00
feat(lifetimekata): Add info about Lifetimekata project
This commit is contained in:
parent
9acefe8b3a
commit
d5449c992e
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ be referenced outside. Lifetimes mean that calling code of e.g. functions
|
||||||
can be checked to make sure their arguments are valid. Lifetimes are
|
can be checked to make sure their arguments are valid. Lifetimes are
|
||||||
restrictive of their callers.
|
restrictive of their callers.
|
||||||
|
|
||||||
|
If you'd like to learn more about lifetime annotations, the
|
||||||
|
[lifetimekata](https://tfpk.github.io/lifetimekata/) project
|
||||||
|
has a similar style of exercises to Rustlings, but is all about
|
||||||
|
learning to write lifetime annotations.
|
||||||
|
|
||||||
## Further information
|
## Further information
|
||||||
|
|
||||||
- [Validating References with Lifetimes](https://doc.rust-lang.org/book/ch10-03-lifetime-syntax.html)
|
- [Validating References with Lifetimes](https://doc.rust-lang.org/book/ch10-03-lifetime-syntax.html)
|
||||||
|
|
Loading…
Reference in a new issue