Consider removing .uwrap
from things that cannot be really unwraped
#452
Labels
.uwrap
from things that cannot be really unwraped
#452
We have a problem in our design: some classes do raise
UnwrapFailedError
when.unwrap()
is called. And some not.For example,
ReaderResult
will always return a function on.unwrap
.This is incosistent and even ugly.
I guess we should only allow
unwrap
on types that do raise.The text was updated successfully, but these errors were encountered: