Rust developers being told they have to unwrap their Christmas presents

#rust #rustlang

@ThePaulMcBride Presents?
@chrysn presents = gifts. I’m sure they’ll come in a box 😂

@ThePaulMcBride You misunderstood: A good rust developer will not unwrap the presents, they won't expect presents, they will just say `presents?` and be happy about it.

(Docs at <https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-the--operator>)

Recoverable Errors with Result - The Rust Programming Language

@chrysn ahh I missed that entirely 🤦‍♂️

@ThePaulMcBride

Oh so that's why I panic when I have to open them?