Skip to content

Commit

Permalink
appender: Fix typo in RollingFileAppender docs (#2375)
Browse files Browse the repository at this point in the history
The `MakeWriter` trait comes from the `tracing-subscriber` crate,
not `tracing-appender`.
  • Loading branch information
yotamofek authored and hawkw committed Apr 21, 2023
1 parent 099f133 commit f0242bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-appender/src/rolling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub use builder::{Builder, InitError};
/// writes without blocking the current thread.
///
/// Additionally, `RollingFileAppender` also implements the [`MakeWriter`]
/// trait from `tracing-appender`, so it may also be used
/// trait from `tracing-subscriber`, so it may also be used
/// directly, without [`NonBlocking`].
///
/// [write]: std::io::Write
Expand Down

0 comments on commit f0242bd

Please sign in to comment.