Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in ex07, Remove dead link #33

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions exercises/07_special_lifetimes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ There are two special lifetimes in Rust. It's worth discussing them both:
# The `static` lifetime

Some things in your program are guaranteed to last forever. The most common reason for this
is when they're information bundled inside your binary. For example, when you write
is when their information is bundled inside your binary. For example, when you write
a program like this:

``` rust
Expand Down Expand Up @@ -160,9 +160,3 @@ All of these lifetimes can be replaced with either `'_` or `'static`.
Your task is to replace every occurance of the lifetimes `'a` and `'b` with either
`'_` or `'static`, to remove excessive lifetime declarations, and to ensure your
code still compiles.

### Footnote on Out of Date Information

The Rust Edition Guide previously contained a section
about anonymous lifetimes. The most popular google result
is now [this article](https://yegeun542.github.io/rust-edition-guide-ko/rust-2018/ownership-and-lifetimes/the-anonymous-lifetime.html) but I recommend disregarding it, as it is out of date information.