Closed ahenshaw closed 1 year ago
Thank you for improving.
I didn't know let-else was introduced recently. It requires to bump MSRV (undocumented, but may be 1.56 for 2021 edition) up to 1.65, but its OK as this is sample code for newly written code.
Merge!
I've simplified the hello sample a bit by using "unwrap_or" and "let-else" constructs. Might as well make the hello_world as short and readable as possible.