Fix some struct references on transport channel doc (#1152)

This commit is contained in:
Joan Antoni RE
2022-11-28 12:27:50 -05:00
committed by GitHub
parent c4525ba6ad
commit b53b387ced
+2 -2
View File
@@ -83,7 +83,7 @@ impl Channel {
Endpoint::from(uri) Endpoint::from(uri)
} }
/// Create an `Endpoint` from a static string. /// Create an [`Endpoint`] from a static string.
/// ///
/// ``` /// ```
/// # use tonic::transport::Channel; /// # use tonic::transport::Channel;
@@ -94,7 +94,7 @@ impl Channel {
Self::builder(uri) Self::builder(uri)
} }
/// Create an `Endpoint` from shared bytes. /// Create an [`Endpoint`] from shared bytes.
/// ///
/// ``` /// ```
/// # use tonic::transport::Channel; /// # use tonic::transport::Channel;