Skip to content

Commit

Permalink
cleanup .hint usage
Browse files Browse the repository at this point in the history
  • Loading branch information
guswynn committed Feb 8, 2022
1 parent 704ecf7 commit 1b0d66e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tracing/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ macro_rules! event {
#[macro_export]
macro_rules! event_enabled {
($($rest:tt)*)=> (
$crate::enabled!(kind: $crate::metadata::Kind::EVENT.hint(), $($rest)*)
$crate::enabled!(kind: $crate::metadata::Kind::EVENT, $($rest)*)
)
}

Expand Down Expand Up @@ -861,7 +861,7 @@ macro_rules! event_enabled {
#[macro_export]
macro_rules! span_enabled {
($($rest:tt)*)=> (
$crate::enabled!(kind: $crate::metadata::Kind::SPAN.hint(), $($rest)*)
$crate::enabled!(kind: $crate::metadata::Kind::SPAN, $($rest)*)
)
}

Expand Down Expand Up @@ -966,7 +966,7 @@ macro_rules! enabled {
":",
line!()
),
kind: $kind,
kind: $kind.hint(),
target: $target,
level: $lvl,
fields: $($fields)*
Expand Down

0 comments on commit 1b0d66e

Please sign in to comment.