Skip to content

Commit 5d9e84e

Browse files
authored
Implement From<DeError> for Error (#224)
1 parent 6d4eb45 commit 5d9e84e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub enum Error {
9898
InvalidTypeMarker(String),
9999

100100
#[error("{0}")]
101-
DeserializationError(DeError),
101+
DeserializationError(#[from] DeError),
102102

103103
#[error("Failed to fetch the routing table [{}]: {}", _0.0, _0.1)]
104104
RoutingTableError((String, String)),

0 commit comments

Comments
 (0)