Hacker News new | ask | show | jobs
by kazagistar 3674 days ago
That would be

    fn something() -> (Option<String>, Option<String>)
Because the Rust types aren't nullable by default. But that more clearly demonstrates that Result types are better since they enforce that the error and result are mutually exclusive.
1 comments

agreed!