-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
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
Migrate crates to use Error: From<S::Error>
#387
Comments
|
I think it might be worth revisiting the decision to go with |
I do find bounds that use from much harder to read than using into which feels very intuitive to me. If its at the cost of using ? I think its fine. |
I'd like to get a better sense of the trade-off space here. If we use |
I also just noticed today that the Rust documentation recommends using |
See also my comment here: rust-lang/rust#31436 (comment) |
I believe we've decided all error bounds should be |
Currently, we have a mix and match of crates that use
From
bounds overInto
bounds. This is causing issues when wanting to compose the services together. I suggest we move them all toFrom
since that is whatTry
is based on.cc @jonhoo @seanmonstar @carllerche @hawkw
The text was updated successfully, but these errors were encountered: