diff --git a/zebra-network/src/peer/error.rs b/zebra-network/src/peer/error.rs index babced48..a58281a3 100644 --- a/zebra-network/src/peer/error.rs +++ b/zebra-network/src/peer/error.rs @@ -8,6 +8,9 @@ use zebra_chain::serialization::SerializationError; use crate::protocol::external::InventoryHash; /// A wrapper around `Arc` that implements `Error`. +// TODO soon this Wrapper will not be necessary. Once +// https://github.com/rust-lang/rust/pull/80553 lands on stable we should +// replace this with a type alias. #[derive(Error, Debug, Clone)] #[error(transparent)] pub struct SharedPeerError(Arc>);