mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
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
This commit is contained in:
parent
55c173c8ae
commit
abd88a9e3a
@ -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")
|
||||
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user