Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit d900abd

Browse files
committed
Fix the resolution of the ErrorKind description method
1 parent 6878bf9 commit d900abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ macro_rules! error_chain {
481481

482482
$(
483483
$link_variant(e: $link_kind_path) {
484-
description(::std::error::Error::description(e))
484+
description(e.description())
485485
display("{}", e)
486486
}
487487
) *

0 commit comments

Comments
 (0)