From b53b387cedd74f4dd7fccb3abf1de669fd086599 Mon Sep 17 00:00:00 2001 From: Joan Antoni RE Date: Mon, 28 Nov 2022 18:27:50 +0100 Subject: [PATCH] Fix some struct references on transport channel doc (#1152) --- tonic/src/transport/channel/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tonic/src/transport/channel/mod.rs b/tonic/src/transport/channel/mod.rs index 9254cf0..c39f4c2 100644 --- a/tonic/src/transport/channel/mod.rs +++ b/tonic/src/transport/channel/mod.rs @@ -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; @@ -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;