book icon indicating copy to clipboard operation
book copied to clipboard

Fix Listing 19-10 for ch19-02-refutability chapter

Open DJPoland opened this issue 5 months ago • 0 comments

The listing is supposed to show why it doesn't make sense to use "if let" with an irrefutable pattern. Currently the live book is showing a "let else" which could cause confusion for readers. For example: https://doc.rust-lang.org/book/ch19-02-refutability.html#listing-19-10. This commit should fix the confusion.

DJPoland avatar May 16 '25 11:05 DJPoland