io: use stderr in stderr documentation (#2746)

This commit is contained in:
Cameron Taggart
2020-08-09 09:37:55 +02:00
committed by GitHub
parent e9adac288e
commit d8490c1626
+1 -1
View File
@@ -59,7 +59,7 @@ cfg_io_std! {
/// ///
/// #[tokio::main] /// #[tokio::main]
/// async fn main() -> io::Result<()> { /// async fn main() -> io::Result<()> {
/// let mut stderr = io::stdout(); /// let mut stderr = io::stderr();
/// stderr.write_all(b"Print some error here.").await?; /// stderr.write_all(b"Print some error here.").await?;
/// Ok(()) /// Ok(())
/// } /// }