Skip to content

Commit c43b59f

Browse files
committed
fix missing .into()
1 parent 4e06dad commit c43b59f

File tree

1 file changed

+1
-1
lines changed
  • tracing-subscriber/src/fmt/format

1 file changed

+1
-1
lines changed

tracing-subscriber/src/fmt/format/json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ impl field::Visit for JsonVisitor<'_> {
493493
}
494494
};
495495

496-
self.values.insert(field.name(), value);
496+
self.values.insert(field.name().into(), value);
497497
}
498498

499499
/// Visit a double precision floating point value.

0 commit comments

Comments
 (0)