diff options
author | hozan23 <hozan23@karyontech.net> | 2024-06-27 03:52:18 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-06-27 23:32:10 +0200 |
commit | bcc6721257889f85f57af1b40351540585ffd41d (patch) | |
tree | 915adea7454fa91eafadfd9e7f9834a7cd0d9ebc /p2p/README.md | |
parent | 7e4e25d9fbac403b0d46e8081baf00fb3865d56d (diff) |
Remove redundant type aliases
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, }) |