Skip to content

Commit 32c00ed

Browse files
fix missing .into()
Co-authored-by: BugenZhao <i@bugenzhao.com>
1 parent 4e06dad commit 32c00ed

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)