Rust RAII is better than the Haskell bracket pattern
How do you handle errors at resource release? When you close a file, the final writes take place, and they can fail. What's the idiom in Rust for getting them out?<p>Python's "with" clause, and the way it interacts with exceptions, is the only system I've seen that gets this right for the nested case.