Skip to content

Commit

Permalink
core: fix typo in field docs (#2611)
Browse files Browse the repository at this point in the history
Module `tracing::field` documentation is missing a word.

Fixing the typo by adding `event`.
; Conflicts:
;	tracing-core/src/field.rs
  • Loading branch information
gdesmott authored and hawkw committed Jun 19, 2023
1 parent 6536cd3 commit a65bb78
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 `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
Expand Down

0 comments on commit a65bb78

Please sign in to comment.