Hacker News new | ask | show | jobs
by Arnavion 410 days ago
Result<Option> is the correct way to represent this, and if you need further convincing, libstd uses it for the same reason: https://doc.rust-lang.org/stable/std/primitive.slice.html?se...