From 84ab6aec4380b0d1de2a46a9f57e172cc709fcb8 Mon Sep 17 00:00:00 2001 From: Bryan Tan Date: Sat, 28 Oct 2017 20:24:49 -0700 Subject: [PATCH] Add no_run to process examples involving unix commands --- src/libstd/process.rs | 4 ++-- 1 file 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; //!