Skip to content

Commit

Permalink
Fix some struct references on transport channel doc (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotare committed Nov 28, 2022
1 parent c4525ba commit b53b387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tonic/src/transport/channel/mod.rs
Expand Up @@ -83,7 +83,7 @@ impl Channel {
Endpoint::from(uri)
}

/// Create an `Endpoint` from a static string.
/// Create an [`Endpoint`] from a static string.
///
/// ```
/// # use tonic::transport::Channel;
Expand All @@ -94,7 +94,7 @@ impl Channel {
Self::builder(uri)
}

/// Create an `Endpoint` from shared bytes.
/// Create an [`Endpoint`] from shared bytes.
///
/// ```
/// # use tonic::transport::Channel;
Expand Down

0 comments on commit b53b387

Please sign in to comment.