Skip to content

Commit d2bd001

Browse files
committed
fix a private struct link
1 parent 542f431 commit d2bd001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracing-core/src/callsite.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl Registry {
7272

7373
/// Trait implemented by callsites.
7474
///
75-
/// These functions are only intended to be called by the [`Registry`] which
75+
/// These functions are only intended to be called by the `Registry` which
7676
/// correctly handles determining the common interest between all subscribers.
7777
pub trait Callsite: Sync {
7878
/// Sets the [`Interest`] for this callsite.
@@ -114,7 +114,7 @@ pub struct Identifier(
114114
/// [`enabled`] is evaluated for every event.
115115
///
116116
/// This function will also re-compute the global maximum level as determined by
117-
/// the [`Subscriber::max_level_hint`] method. If a [`Subscriber`]
117+
/// the [`Subscriber::max_level_hint`](crate::Subscriber::max_level_hint) method. If a [`Subscriber`]
118118
/// implementation changes the value returned by its `max_level_hint`
119119
/// implementation at runtime, then it **must** call this function after that
120120
/// value changes, in order for the change to be reflected.

0 commit comments

Comments
 (0)