Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mwcz
8 days ago
|
parent
|
context
|
favorite
| on:
Rust's Block Pattern
The best part of try blocks is the ability to use the ? operator within them. Any block can return a result, but only function blocks (and try blocks) can propagate an Err with the ? operator.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: