Comment by Sharlin
3 hours ago
In many cases, NonMaxU64 and NonMinI64 (aka SymmetricI64) would be much more useful though. But Rust is aiming to eventually add a more general way to create types with user-defined ranges, such as the "pattern types" feature currently being prototyped.
No comments yet
Contribute on Hacker News ↗