diff --git a/tracing/src/macros.rs b/tracing/src/macros.rs index 5de45cb75..fa0d2dc37 100644 --- a/tracing/src/macros.rs +++ b/tracing/src/macros.rs @@ -1057,10 +1057,10 @@ macro_rules! event_enabled { /// Tests whether a span with the specified level and target would be enabled. /// /// This is similar to [`enabled!`], but queries the current collector specifically for -/// an event, whereas [`enabled!`] queries for an event _or_ span. +/// a span, whereas [`enabled!`] queries for an event _or_ span. /// /// See the documentation for [`enabled!]` for more details on using this macro. -/// See also [`span_enabled!`]. +/// See also [`event_enabled!`]. /// /// # Examples /// @@ -1080,7 +1080,7 @@ macro_rules! event_enabled { /// ``` /// /// [`enabled!`]: crate::enabled -/// [`span_enabled!`]: crate::span_enabled +/// [`event_enabled!`]: crate::event_enabled #[macro_export] macro_rules! span_enabled { ($($rest:tt)*)=> (