We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option
The critical behavior in option feature is about applying a patch on a None.
None
Now we use .into(), and let the user implement the From trait as the default behavior. This is the reason the option featuredependence on From`.
.into()
From
dependence on
It is nice to have some optional parameters for option to handle the other two possible use cases.
none
Default
ref: #31 (comment) #31 (comment)
The text was updated successfully, but these errors were encountered:
keep_none
none_as_default
Successfully merging a pull request may close this issue.
The critical behavior in
option
feature is about applying a patch on aNone
.Now we use
.into()
, and let the user implement theFrom
trait as the default behavior.This is the reason the
option
featuredependence on
From`.It is nice to have some optional parameters for
option
to handle the other two possible use cases.none
, the result will benone
, such that theoption
feature will have no dependencynone
, the result will be a patched default instance, so theoption
feature will not be dependent onFrom
but fromDefault
ref:
#31 (comment)
#31 (comment)
The text was updated successfully, but these errors were encountered: