Skip to content

Commit

Permalink
appender: fixed typo in tracing-appender README example (#1943)
Browse files Browse the repository at this point in the history
## Motivation

Found a typo as code didn't work as is.

## Solution

Fixed the typo :)
  • Loading branch information
TheDan64 authored and hawkw committed Feb 28, 2022
1 parent 7c00d76 commit e0e254c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-appender/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e0e254c

Please sign in to comment.