Re:Errors and Exceptions
by qznc on Friday August 21, 2015 @10:31AM
(#10097689)
I like to say "Rust has exceptions, you just can't catch them". If you use panic!() in Rust, it will unwind the stack, just like exceptions do. Destructors correspond to finally blocks in Java.
[ Parent
| on HN ]