File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,7 @@ impl Dispatch {
607607 ( real_min, dispatch)
608608 }
609609
610- /// Builds this logger into a `Box<log::Log>` and calculates the minimum
610+ /// Builds this logger into a `Box<dyn log::Log>` and calculates the minimum
611611 /// log level needed to have any effect.
612612 ///
613613 /// While this method is exposed publicly, [`Dispatch::apply`] is typically
@@ -1051,7 +1051,7 @@ impl Output {
10511051
10521052 /// Returns a logger using arbitrary write object and custom separator.
10531053 ///
1054- /// If the default separator of `\n` is acceptable, an `Box<Write + Send>`
1054+ /// If the default separator of `\n` is acceptable, an `Box<dyn Write + Send>`
10551055 /// instance can be passed into [`Dispatch::chain`] directly.
10561056 ///
10571057 /// ```no_run
@@ -1061,7 +1061,7 @@ impl Output {
10611061 ///
10621062 /// fern::Dispatch::new()
10631063 /// // as long as we explicitly cast into a type-erased Box
1064- /// .chain(Box::new(writer) as Box<std::io::Write + Send>)
1064+ /// .chain(Box::new(writer) as Box<dyn std::io::Write + Send>)
10651065 /// # .into_log();
10661066 /// # Ok(())
10671067 /// # }
You can’t perform that action at this time.
0 commit comments