Skip to content

Commit

Permalink
Implement From<DeError> for Error (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker authored Feb 12, 2025
1 parent 6d4eb45 commit 5d9e84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub enum Error {
InvalidTypeMarker(String),

#[error("{0}")]
DeserializationError(DeError),
DeserializationError(#[from] DeError),

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

0 comments on commit 5d9e84e

Please sign in to comment.