Skip to content

Commit 4dbe03c

Browse files
authored
docs: Fix typo (#1442)
There is no struct named `Subscriber`, I think the `Subscriber` here is a trait.
1 parent 067d214 commit 4dbe03c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing/src/dispatcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
//! currently default `Dispatch`. This is used primarily by `tracing`
123123
//! instrumentation.
124124
//!
125-
//! [`Subscriber`]: struct.Subscriber.html
125+
//! [`Subscriber`]: trait.Subscriber.html
126126
//! [`with_default`]: fn.with_default.html
127127
//! [`set_global_default`]: fn.set_global_default.html
128128
//! [`get_default`]: fn.get_default.html

0 commit comments

Comments
 (0)