Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Aug 2, 2024
1 parent d52774a commit 90d25fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc_client/src/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ pub type Channel = TracingInjectChannel;
#[cfg(madsim)]
pub type Channel = tonic::transport::Channel;

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

0 comments on commit 90d25fb

Please sign in to comment.