3 ms·In typescript you can return union types. Rust doesn't allow that, at least not ergonomically.by The_rationalist 7y agoIn typescript you can return union types. Rust doesn't allow that, at least not ergonomically.