From 8c55e4917462051fa9531e08c3fea9499efdfd6f Mon Sep 17 00:00:00 2001 From: Marco Herrera-Rendon Date: Fri, 3 Oct 2025 07:52:59 -0600 Subject: [PATCH] add missing dyn keyword in docu code sample --- tracing-core/src/field.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-core/src/field.rs b/tracing-core/src/field.rs index dc68b4321..829cf7eb8 100644 --- a/tracing-core/src/field.rs +++ b/tracing-core/src/field.rs @@ -240,7 +240,7 @@ pub struct Iter { /// self.sum += value as i64; /// } /// -/// fn record_debug(&mut self, _field: &Field, _value: &fmt::Debug) { +/// fn record_debug(&mut self, _field: &Field, _value: &dyn fmt::Debug) { /// // Do nothing /// } /// }