about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstd/process.rs4
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;
 //!