Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upstd::option::NoneError, what to do? #61
Comments
This comment has been minimized.
This comment has been minimized.
Celti
commented
Nov 18, 2017
|
As I just discovered a couple hours ago (see #59), If you're using the |
This comment has been minimized.
This comment has been minimized.
|
Thank you - I'm also in the early stages and don't need |
stephanbuys
closed this
Nov 18, 2017
This comment has been minimized.
This comment has been minimized.
@Celti can you elaborate on this? I am implementing my custom error type:
gives the trait bound How to work around this? |
stephanbuys commentedNov 18, 2017
Hi, I scoured the docs and had a bit of a hard time discerning if Failure should handle the
NoneErrortype that can be returned when a you callto_str()on aPathBuf, I'm migrating my code fromerror_chainand I used the.chain_error()method to convert these errors into compatible types. Am I missing something or should I implementFromfroNoneError?