book icon indicating copy to clipboard operation
book copied to clipboard

ch18-03: Matching Named Variables: mention `if let`/`while let`

Open yeputons opened this issue 3 years ago • 0 comments

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.

yeputons avatar Apr 05 '22 12:04 yeputons