diff options
| author | Bryan Tan <techniux@gmail.com> | 2017-10-28 20:24:49 -0700 |
|---|---|---|
| committer | Bryan Tan <techniux@gmail.com> | 2017-10-28 20:27:05 -0700 |
| commit | 84ab6aec4380b0d1de2a46a9f57e172cc709fcb8 (patch) | |
| tree | f4700f9c851978130bbe7240a696a96315b644af /src/libstd/process.rs | |
| parent | 3566832ef3a5af2ee29a76f95b55c6e1fafcf02a (diff) | |
| download | rust-84ab6aec4380b0d1de2a46a9f57e172cc709fcb8.tar.gz rust-84ab6aec4380b0d1de2a46a9f57e172cc709fcb8.zip | |
Add no_run to process examples involving unix commands
Diffstat (limited to 'src/libstd/process.rs')
| -rw-r--r-- | src/libstd/process.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index bcdbee52ca3..7f9d043c1e5 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -42,7 +42,7 @@ //! example, piping output from one command into another command can be done //! like so: //! -//! ``` +//! ```no_run //! use std::process::{Command, Stdio}; //! //! // stdout must be configured with `Stdio::piped` in order to use @@ -71,7 +71,7 @@ //! Note that [`ChildStderr`] and [`ChildStdout`] implement [`Write`] and //! [`ChildStdin`] implements [`Read`]: //! -//! ``` +//! ```no_run //! use std::process::{Command, Stdio}; //! use std::io::Write; //! |
