Rollup merge of #47198 - dzamlo:patch-2, r=frewsxcv

Fix an error in std::process documentation
This commit is contained in:
kennytm
2018-01-05 17:22:12 +08:00
committed by GitHub

View File

@@ -68,8 +68,8 @@
//! assert_eq!(b"Oh no, a typo!\n", output.stdout.as_slice()); //! assert_eq!(b"Oh no, a typo!\n", output.stdout.as_slice());
//! ``` //! ```
//! //!
//! Note that [`ChildStderr`] and [`ChildStdout`] implement [`Write`] and //! Note that [`ChildStderr`] and [`ChildStdout`] implement [`Read`] and
//! [`ChildStdin`] implements [`Read`]: //! [`ChildStdin`] implements [`Write`]:
//! //!
//! ```no_run //! ```no_run
//! use std::process::{Command, Stdio}; //! use std::process::{Command, Stdio};