Skip to content

Commit 84ab6ae

Browse files
committed
Add no_run to process examples involving unix commands
1 parent 3566832 commit 84ab6ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/process.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//! example, piping output from one command into another command can be done
4343
//! like so:
4444
//!
45-
//! ```
45+
//! ```no_run
4646
//! use std::process::{Command, Stdio};
4747
//!
4848
//! // stdout must be configured with `Stdio::piped` in order to use
@@ -71,7 +71,7 @@
7171
//! Note that [`ChildStderr`] and [`ChildStdout`] implement [`Write`] and
7272
//! [`ChildStdin`] implements [`Read`]:
7373
//!
74-
//! ```
74+
//! ```no_run
7575
//! use std::process::{Command, Stdio};
7676
//! use std::io::Write;
7777
//!

0 commit comments

Comments
 (0)