From 4dbe03c141a8d4c8baefefc3e4f8f64f2cbe227d Mon Sep 17 00:00:00 2001 From: Dezhi Wu Date: Fri, 25 Jun 2021 01:12:53 +0800 Subject: [PATCH] docs: Fix typo (#1442) There is no struct named `Subscriber`, I think the `Subscriber` here is a trait. --- tracing/src/dispatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing/src/dispatcher.rs b/tracing/src/dispatcher.rs index f03ff4b3d3..0d4c8f9d90 100644 --- a/tracing/src/dispatcher.rs +++ b/tracing/src/dispatcher.rs @@ -122,7 +122,7 @@ //! currently default `Dispatch`. This is used primarily by `tracing` //! instrumentation. //! -//! [`Subscriber`]: struct.Subscriber.html +//! [`Subscriber`]: trait.Subscriber.html //! [`with_default`]: fn.with_default.html //! [`set_global_default`]: fn.set_global_default.html //! [`get_default`]: fn.get_default.html