Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Matching Named Variables: mention `if let`/`while let` `if let` and `while let` introduce new scope for named variables just like `match`. However, they do not support match guards yet, see RFC 2497. * Ch. 19: further clarify discussion of `if|while let` patterns - While keeping the note about `if let` and `while let` when introducing the discussion of matching named variables, bring the phrasing back closer to the original. - Move the distinction that `if let` and `while let` do not have the equivalent of match guards down to the discussion of match guards. - Line wrapping. --------- Co-authored-by: Chris Krycho <[email protected]>
- Loading branch information