From e0e254c9068827848509f079bd117b9388b9f619 Mon Sep 17 00:00:00 2001 From: Dan K Date: Mon, 21 Feb 2022 15:22:15 -0500 Subject: [PATCH] appender: fixed typo in tracing-appender README example (#1943) ## Motivation Found a typo as code didn't work as is. ## Solution Fixed the typo :) --- tracing-appender/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();