Skip to content

Commit

Permalink
Typos/grammar in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm committed Oct 30, 2018
1 parent 32bba6a commit 6c9deaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub trait Transport {
where
Self: Sized;

/// Dial to the given multi-addr.
/// Dial the given multi-addr.
///
/// Returns either a future which may resolve to a connection, or gives back the multiaddress.
fn dial(self, addr: Multiaddr) -> Result<Self::Dial, (Self, Multiaddr)>
Expand All @@ -114,7 +114,7 @@ pub trait Transport {
/// as is.
///
/// Returns `None` if nothing can be determined. This happens if this trait implementation
/// doesn't recognize the protocols, or if `server` and `observed` are related.
/// doesn't recognize the protocols, or if `server` and `observed` are not related.
fn nat_traversal(&self, server: &Multiaddr, observed: &Multiaddr) -> Option<Multiaddr>;

/// Turns this `Transport` into an abstract boxed transport.
Expand Down

0 comments on commit 6c9deaa

Please sign in to comment.