Skip to content

Commit

Permalink
refactor(error): update Debug for Error to output 'hyper::Error'
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Oct 17, 2019
1 parent 1235f1d commit 8e7ebd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ impl Error {

impl fmt::Debug for Error {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let mut f = f.debug_tuple("Error");
let mut f = f.debug_tuple("hyper::Error");
f.field(&self.inner.kind);
if let Some(ref cause) = self.inner.cause {
f.field(cause);
Expand Down

0 comments on commit 8e7ebd8

Please sign in to comment.