Skip to content

Commit a093858

Browse files
authored
docs: fix link in FmtSpan docs (#3411)
## Motivation In the docs for the `FmtSpan` struct, the link to `with_span_events` was broken. ## Solution This change fixes the docs. Closes: #3403
1 parent 976fa55 commit a093858

File tree

1 file changed

+3
-1
lines changed
  • tracing-subscriber/src/fmt/format

1 file changed

+3
-1
lines changed

tracing-subscriber/src/fmt/format/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,9 @@ impl<F> fmt::Debug for FieldFnVisitor<'_, F> {
16001600

16011601
/// Configures what points in the span lifecycle are logged as events.
16021602
///
1603-
/// See also [`with_span_events`](super::SubscriberBuilder.html::with_span_events).
1603+
/// See also [`with_span_events`].
1604+
///
1605+
/// [`with_span_events`]: super::SubscriberBuilder::with_span_events
16041606
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd)]
16051607
pub struct FmtSpan(u8);
16061608

0 commit comments

Comments
 (0)