From 995328ee66bc768ee25609ed49845f0a051226dd Mon Sep 17 00:00:00 2001 From: Benjamin Herr Date: Mon, 11 Apr 2022 00:54:54 -0700 Subject: [PATCH] subscriber: fix doc link for impl Layer for Vec Backporting seems like a pain. --- tracing-subscriber/src/layer/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tracing-subscriber/src/layer/mod.rs b/tracing-subscriber/src/layer/mod.rs index 7cc365f7f7..91fb325687 100644 --- a/tracing-subscriber/src/layer/mod.rs +++ b/tracing-subscriber/src/layer/mod.rs @@ -268,7 +268,7 @@ //! more convenient, but [`Box::new`] may be used as well. //! //! When the number of `Layer`s varies at runtime, note that a -//! [`Vec where L: `Layer`` also implements `Layer`][vec-impl]. This +//! [`Vec where L: Layer` also implements `Layer`][vec-impl]. This //! can be used to add a variable number of `Layer`s to a `Subscriber`: //! //! ``` @@ -370,6 +370,7 @@ //! //! [option-impl]: Layer#impl-Layer-for-Option //! [box-impl]: Layer#impl-Layer%3CS%3E-for-Box%3Cdyn%20Layer%3CS%3E%20+%20Send%20+%20Sync%3E +//! [vec-impl]: Layer#impl-Layer-for-Vec //! [prelude]: crate::prelude //! //! # Recording Traces