diff options
Diffstat (limited to 'p2p/README.md')
-rw-r--r-- | p2p/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/README.md b/p2p/README.md index e63120c..efd6d60 100644 --- a/p2p/README.md +++ b/p2p/README.md @@ -81,7 +81,7 @@ pub struct NewProtocol { } impl NewProtocol { - fn new(peer: ArcPeer) -> ArcProtocol { + fn new(peer: Arc<Peer>) -> Arc<Protocol> { Arc::new(Self { peer, }) |