4 ms·
> Rust's type system is also error-aware. Rust is actually largely error-unaware. It does have some syntactic sugar (mostly `?`, and even then that’s not restr
by masklinn 3y ago
> Rust's type system is also error-aware.
Rust is actually largely error-unaware. It does have some syntactic sugar (mostly `?`, and even then that’s not restricted to errors), but for the most part Result just an enum with a `must_use` annotation, everything flows down from that.