3 ms·
What you describe as "a match around a lambda" is the `catch` expression, which will catch `?`s thrown within it and allow you to match over them. This syntax h
by tatterdemalion 10y ago
What you describe as "a match around a lambda" is the `catch` expression, which will catch `?`s thrown within it and allow you to match over them. This syntax has gone through RFC but its not implemented yet.
Of course for now you can create this control flow with `match (|| { block }) { }` as you describe.