Skip to content

Commit

Permalink
io: use stderr in stderr documentation (#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaggart committed Aug 9, 2020
1 parent e9adac2 commit d8490c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/io/stderr.rs
Expand Up @@ -59,7 +59,7 @@ cfg_io_std! {
///
/// #[tokio::main]
/// async fn main() -> io::Result<()> {
/// let mut stderr = io::stdout();
/// let mut stderr = io::stderr();
/// stderr.write_all(b"Print some error here.").await?;
/// Ok(())
/// }
Expand Down

0 comments on commit d8490c1

Please sign in to comment.