3 ms·
Or if T is NonZero.
More importantly, dereferencing a None is not undefined behavior in Rust.
Or if T is NonZero.
More importantly, dereferencing a None is not undefined behavior in Rust.
> Or if T is NonZero.
Ok, I wasn't aware of this.
>More importantly, dereferencing a None is not undefined behavior in Rust.
That's an unrelated point. I never said Rust enum's have no advantages.
Or if T contains a NonZero (Vec, VecDeque, HashMap) ;)