3 ms·
> not super familiar with Rust but isn't Option<T> just an union type of null and T? Only if there is a niche optimization happens if T is never null, otherwis
by 0x457 1y ago
> not super familiar with Rust but isn't Option<T> just an union type of null and T?
Only if there is a niche optimization happens if T is never null, otherwise it's a tagged union.
That's not what you're replying to is about.