-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reqwest: Migrate to shared
Error
type and use thiserror
's From
…
…impl (#238) `reqwest` no longer has a separate error type for sync and async implementations. In addition `thiserror` can generate `From` implementations for automatic conversions in the `Try` (`?`) operator. Finally, delete some unnecessary `#[cfg]` wraps that are already guarding the module as a whole, and that the code won't compile without anyway.
- Loading branch information
Showing
2 changed files
with
21 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters