Re:Weird Expressions in Rust
by nextaccountic on Sunday June 29, 2025 @12:38AM
(#44410394)
Return has the ! type. It's a type with no values, similar to an enum without variants, like this:
Languages like OCaml, Haskell as well as Rust have types with no values (called uninhabited types)
[ Parent
| on HN ]
There are no comments on this comment yet.