Re:Overhead of Returning Optional Values in Java and Rust
by tialaramex on Saturday October 16, 2021 @07:11PM
(#28892408)
Although, Rust only knows about certain obvious niches. It can reason that it can fit None in the same space as NonZeroU64 or a reference &T but it doesn't see how to do this with a hypothetical EvenU64 as I understand it because that "niche" is in the wrong place.
[ Parent
| on HN ]
There are no comments on this comment yet.