Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Apr 22, 2020
1 parent 35dcce3 commit b3ec39e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network/src/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ impl<N> Clone for Service<N> {
}

impl<N> Service<N> {
/// Returns the `NetworkService`
pub fn network_service(&self) -> Arc<N> {
self.network_service.clone()
}
Expand Down

0 comments on commit b3ec39e

Please sign in to comment.