From e7c5c6c4490977ba0c52ddf3b4f56ba1bbba5cc1 Mon Sep 17 00:00:00 2001 From: Gabriel Goller Date: Mon, 30 Oct 2023 14:22:55 +0100 Subject: [PATCH] docs: attributes: fix small backporting error There was an error when backporting #1378 (here: #1418) and a trailing dot (.) was forgotten (which was breaking the link). Fixed also the link to `std::fmt::Debug`. --- tracing-attributes/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index 6a0fd54537..4a88040246 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -96,10 +96,10 @@ mod expand; /// By default, all arguments to the function are included as fields on the /// span. Arguments that are `tracing` [primitive types] implementing the /// [`Value` trait] will be recorded as fields of that type. Types which do -/// not implement `Value` will be recorded using [`std::fmt::Debug`]. +/// not implement `Value` will be recorded using [`fmt::Debug`]. /// /// [primitive types]: https://docs.rs/tracing/latest/tracing/field/trait.Value.html#foreign-impls -/// [`Value` trait]: https://docs.rs/tracing/latest/tracing/field/trait.Value.html. +/// [`Value` trait]: https://docs.rs/tracing/latest/tracing/field/trait.Value.html /// /// # Overriding Span Attributes ///