From 25368a341ea06ecfafc4ed09da7b2466f92ac9fe Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Thu, 8 Feb 2024 15:53:32 -0500 Subject: [PATCH] Fix errant backtick in WeakDispatch docs Note: this error is not present on `master`. --- tracing-core/src/dispatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-core/src/dispatcher.rs b/tracing-core/src/dispatcher.rs index de02afb7..960ee65e 100644 --- a/tracing-core/src/dispatcher.rs +++ b/tracing-core/src/dispatcher.rs @@ -159,7 +159,7 @@ pub struct Dispatch { /// `WeakDispatch` is a version of [`Dispatch`] that holds a non-owning reference /// to a [`Subscriber`]. /// -/// The Subscriber` may be accessed by calling [`WeakDispatch::upgrade`], +/// The `Subscriber` may be accessed by calling [`WeakDispatch::upgrade`], /// which returns an `Option`. If all [`Dispatch`] clones that point /// at the `Subscriber` have been dropped, [`WeakDispatch::upgrade`] will return /// `None`. Otherwise, it will return `Some(Dispatch)`.