From 6f205a181222167f7724a29b8db62f48f9000fcd Mon Sep 17 00:00:00 2001 From: Jane Lusby Date: Thu, 18 Feb 2021 15:20:58 -0800 Subject: [PATCH] make sure peer/error.s comments are up to date --- zebra-network/src/peer/error.rs | 3 +++ 1 file changed, 3 insertions(+) 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>);