Skip to content

Commit

Permalink
core: fix typo in field docs (#2611)
Browse files Browse the repository at this point in the history
## Motivation

Module `tracing::field` documentation is missing a word.

## Solution

Fixing the typo by adding `event`.
  • Loading branch information
gdesmott committed Jun 16, 2023
1 parent 2fc09f4 commit c14525e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-core/src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! # `Value`s and `Collect`s
//!
//! Collectors 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 collector's
//! [`new_span`] method, containing any fields whose values were provided when
//! the span was created; and may call the collector's [`record`] method
Expand Down

0 comments on commit c14525e

Please sign in to comment.