book
book copied to clipboard
ch18-03: Matching Named Variables: mention `if let`/`while let`
if let and while let introduce new scope for named variables just like match. However, the current wording suggests that it's the case for match only.
if let and while let do not support match guards yet, see RFC 2497.