Skip to content

Commit 8e7ebd8

Browse files
committed
refactor(error): update Debug for Error to output 'hyper::Error'
1 parent 1235f1d commit 8e7ebd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ impl Error {
292292

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

0 commit comments

Comments
 (0)