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

RFC: Allow Irrefutable Patterns in if-let and while-let statements #2086

Merged
merged 11 commits into from
Sep 11, 2017
Prev Previous commit
Next Next commit
Fixed the link to the book
  • Loading branch information
Nokel81 authored Aug 30, 2017
commit c7904e5bd7ab1e4072844877d70162d0ce2b448c
2 changes: 1 addition & 1 deletion text/0000-allow-if-let-irrefutables.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ macro_rules! check_five {
# How We Teach This
[how-we-teach-this]: #how-we-teach-this

This can be taught by changing the second version of (`The Book`)[https://doc.rust-lang.org/book/second-edition/ch18-02-refutability.html] to not explicitly say that it is not allowed.
This can be taught by changing the second version of [The Book](https://doc.rust-lang.org/book/second-edition/ch18-02-refutability.html) to not explicitly say that it is not allowed.
Adding that it is a lint that can be disabled.

# Drawbacks
Expand Down