From 28e3458c47efdfa3b0b223c9da287e69a4aa393b Mon Sep 17 00:00:00 2001 From: David Ross Date: Sun, 15 Dec 2024 01:26:48 -0800 Subject: [PATCH] Fix missing 'dyn's in doc tests following edition upgrade. --- src/builders.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/builders.rs b/src/builders.rs index 6a78c9a..5ea791b 100644 --- a/src/builders.rs +++ b/src/builders.rs @@ -607,7 +607,7 @@ impl Dispatch { (real_min, dispatch) } - /// Builds this logger into a `Box` and calculates the minimum + /// Builds this logger into a `Box` and calculates the minimum /// log level needed to have any effect. /// /// While this method is exposed publicly, [`Dispatch::apply`] is typically @@ -1051,7 +1051,7 @@ impl Output { /// Returns a logger using arbitrary write object and custom separator. /// - /// If the default separator of `\n` is acceptable, an `Box` + /// If the default separator of `\n` is acceptable, an `Box` /// instance can be passed into [`Dispatch::chain`] directly. /// /// ```no_run @@ -1061,7 +1061,7 @@ impl Output { /// /// fern::Dispatch::new() /// // as long as we explicitly cast into a type-erased Box - /// .chain(Box::new(writer) as Box) + /// .chain(Box::new(writer) as Box) /// # .into_log(); /// # Ok(()) /// # }