Re:Rust Cookbook
by colejohnson66 on Thursday February 11, 2021 @09:23AM
(#26101755)
This is a valid point. Without the context, the “everything is an expression” forces one to look for a line without a semicolon to see the expression result. In a 5 line function, that’s easy, but in a nested match, it can be hard.
[ Parent
| on HN ]
Re:Rust Cookbook
by unanswered on Thursday February 11, 2021 @12:05PM
(#26104090)
It can only possibly be at the end, so it's not really hard?