From a65bb78ef47083fe45ee3c227a465193199e5e27 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 16 Jun 2023 17:43:59 +0200 Subject: [PATCH] core: fix typo in `field` docs (#2611) Module `tracing::field` documentation is missing a word. Fixing the typo by adding `event`. ; Conflicts: ; tracing-core/src/field.rs --- tracing-core/src/field.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-core/src/field.rs b/tracing-core/src/field.rs index 04b8e1b297..84936c51a0 100644 --- a/tracing-core/src/field.rs +++ b/tracing-core/src/field.rs @@ -7,7 +7,7 @@ //! # `Value`s and `Subscriber`s //! //! `Subscriber`s consume `Value`s as fields attached to [span]s or [`Event`]s. -//! The set of field keys on a given span or is defined on its [`Metadata`]. +//! The set of field keys on a given span or event is defined on its [`Metadata`]. //! When a span is created, it provides [`Attributes`] to the `Subscriber`'s //! [`new_span`] method, containing any fields whose values were provided when //! the span was created; and may call the `Subscriber`'s [`record`] method