-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Writer errors to only io errors
The other error types in `crate::errors::Error` are not applicable to the Writer. Only io error can be given and putting the io error in an `std::sync::Arc` and making users match on all other kinds is not needed. The returned `std::io::Error` can still be turned into `crate::errors::Error` if needed, but on demand.
- Loading branch information
1 parent
ccb8b6f
commit 6d47998
Showing
2 changed files
with
15 additions
and
19 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