3 ms·
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/st
by Arnavion 1y 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?search=-%3E%20Result%3COption%3E https://doc.rust-lang.org/stable/std/primitive.slice.html?se...