rust-scan icon indicating copy to clipboard operation
rust-scan copied to clipboard

`*_unwrap` convenience macro variants

Open DanielKeep opened this issue 11 years ago • 0 comments

Handling errors is a bit of a pain at the moment, with RFC 70 having not happened yet, and no "nice" way of applying either try! or unwrap to a scan block.

For the moment, it might be best to include *_unwrap variants of the public macros that just fail on error, freeing the user from having to care about it.

That said, other ideas are welcome.

DanielKeep avatar Oct 14 '14 08:10 DanielKeep