I don’t get it!
If the T
in Result
(and presumably Option
) is ()
, then why not just use is_ok()
/is_err()
from the caller side?
Other Tips:
bool
hasthen()
andthen_some()
methods instd
now.- You can
transpose()
in both directions betweenResultᐸOptionᐸTᐳᐳ
s andOptionᐸResultᐸTᐳᐳ
s
LOL