Skip to content

Commit

Permalink
Rollup merge of rust-lang#58746 - ipetkov:std-process-docs, r=cramertj
Browse files Browse the repository at this point in the history
std: docs: Disable running several Stdio doctests

* A number of `Stdio` related doc examples include running the "rev"
command to illustrate piping commands. The majority of these tests are
marked as `no_run` except for two tests which were not
* Not running these tests is unlikely to cause any negative impact, and
doing so also allows the test suite to pass in environments where the
"rev" command is unavailable
  • Loading branch information
Centril authored Feb 27, 2019
2 parents 426f61e + abd88a9 commit bf807e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ impl From<ChildStdin> for Stdio {
///
/// `ChildStdin` will be converted to `Stdio` using `Stdio::from` under the hood.
///
/// ```rust
/// ```rust,no_run
/// use std::process::{Command, Stdio};
///
/// let reverse = Command::new("rev")
Expand Down Expand Up @@ -1044,7 +1044,7 @@ impl From<ChildStdout> for Stdio {
///
/// `ChildStdout` will be converted to `Stdio` using `Stdio::from` under the hood.
///
/// ```rust
/// ```rust,no_run
/// use std::process::{Command, Stdio};
///
/// let hello = Command::new("echo")
Expand Down

0 comments on commit bf807e9

Please sign in to comment.