From 9eedc61f68f777ea15c1f7a3e2e6b8e15c7ec6f6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Sep 2021 21:08:12 +0300 Subject: [PATCH] doc typo --- 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 f9e70aabea..788c49d085 100644 --- a/tracing-core/src/field.rs +++ b/tracing-core/src/field.rs @@ -115,7 +115,7 @@ pub struct Iter { /// } /// /// impl<'a> Visit for StringVisitor<'a> { -/// fn record_debug(&mut self, field: &Field, value: &fmt::Debug) { +/// fn record_debug(&mut self, field: &Field, value: &dyn fmt::Debug) { /// write!(self.string, "{} = {:?}; ", field.name(), value).unwrap(); /// } /// }