← Back to context

Comment by yefol

7 hours ago

Does that include deadlock safety?

Try running both of these examples. They only differ in a pair of curly braces.

https://play.rust-lang.org/?version=stable&mode=debug&editio...

https://play.rust-lang.org/?version=stable&mode=debug&editio...

https://fasterthanli.me/articles/a-rust-match-made-in-hell

Mojo handles this significantly better than Rust.