rusty_results
rusty_results copied to clipboard
Add `from_optional` helper method to `Option`
I've ran into a few scenarios where I need to convert from typing.Optional[T] to rusty_results.Option[T] and was wondering if we could add a helper function that would create an Option[T] from an Optional[T], something like Option[T].from_optional.
Nice suggestion, we will add this in the next version. Thanks!
Resolved with #20.