Skip to content

Commit

Permalink
Don't run tests which fail to compile
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Ryhl <alice@ryhl.io>
  • Loading branch information
JOT85 and Darksonn committed Jan 16, 2021
1 parent 0eeb3e7 commit 6a75db7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tokio/src/process/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -843,15 +843,16 @@ pub struct Child {
/// yourself from calling functions on `child` while using `stdin`, you might
/// find it helpful to do:
///
/// ```compile_fail,E0425
/// ```no_run
/// # let child: tokio::process::Child = unreachable!();
/// let stdin = child.stdin.take().unwrap();
/// ```
pub stdin: Option<ChildStdin>,

/// The handle for reading from the child's standard output (stdout), if it
/// has been captured. You might find it helpful to do
///
/// ```compile_fail,E0425
/// ```no_run
/// let stdout = child.stdout.take().unwrap();
/// ```
///
Expand All @@ -862,7 +863,7 @@ pub struct Child {
/// The handle for reading from the child's standard error (stderr), if it
/// has been captured. You might find it helpful to do
///
/// ```compile_fail,E0425
/// ```no_run
/// let stderr = child.stderr.take().unwrap();
/// ```
///
Expand Down

0 comments on commit 6a75db7

Please sign in to comment.