Skip to content

Commit 90d25fb

Browse files
committedAug 2, 2024
fix check
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
1 parent d52774a commit 90d25fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/rpc_client/src/tracing.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ pub type Channel = TracingInjectChannel;
6161
#[cfg(madsim)]
6262
pub type Channel = tonic::transport::Channel;
6363

64-
/// An extension trait for tonic's `Channel` that wraps it in a [`TracingInject`] service.
64+
/// An extension trait for tonic's `Channel` that wraps it into a [`TracingInjectChannel`].
6565
#[easy_ext::ext(TracingInjectedChannelExt)]
6666
impl tonic::transport::Channel {
67-
/// Wraps the channel in a [`TracingInject`] service, so that the [`TracingContext`] obtained
67+
/// Wraps the channel into a [`TracingInjectChannel`], so that the [`TracingContext`] obtained
6868
/// from the current tracing span is injected into the HTTP headers of the request.
6969
///
7070
/// The server can then extract the [`TracingContext`] from the HTTP headers with the

0 commit comments

Comments
 (0)