diff --git a/tracing-appender/README.md b/tracing-appender/README.md index 55ba5871d7..0fd0655b56 100644 --- a/tracing-appender/README.md +++ b/tracing-appender/README.md @@ -112,7 +112,7 @@ a [`std::io::Write`][write]: ```rust fn main() { - let (non_blocking, _guard) = tracing_appender::non_blocking(std::io::Stdout); + let (non_blocking, _guard) = tracing_appender::non_blocking(std::io::stdout()); tracing_subscriber::fmt() .with_writer(non_blocking) .init();