"what would rustfmt do"
This commit is contained in:
parent
bf1e3f31f9
commit
d8c1533252
1 changed files with 69 additions and 71 deletions
|
@ -158,8 +158,7 @@ use crate::sys_common::{AsInner, AsInnerMut, FromInner, IntoInner};
|
||||||
/// .spawn()
|
/// .spawn()
|
||||||
/// .expect("failed to execute child");
|
/// .expect("failed to execute child");
|
||||||
///
|
///
|
||||||
/// let ecode = child.wait()
|
/// let ecode = child.wait().expect("failed to wait on child");
|
||||||
/// .expect("failed to wait on child");
|
|
||||||
///
|
///
|
||||||
/// assert!(ecode.success());
|
/// assert!(ecode.success());
|
||||||
/// ```
|
/// ```
|
||||||
|
@ -502,8 +501,7 @@ impl fmt::Debug for ChildStderr {
|
||||||
/// use std::process::Command;
|
/// use std::process::Command;
|
||||||
///
|
///
|
||||||
/// let mut echo_hello = Command::new("sh");
|
/// let mut echo_hello = Command::new("sh");
|
||||||
/// echo_hello.arg("-c")
|
/// echo_hello.arg("-c").arg("echo hello");
|
||||||
/// .arg("echo hello");
|
|
||||||
/// let hello_1 = echo_hello.output().expect("failed to execute process");
|
/// let hello_1 = echo_hello.output().expect("failed to execute process");
|
||||||
/// let hello_2 = echo_hello.output().expect("failed to execute process");
|
/// let hello_2 = echo_hello.output().expect("failed to execute process");
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue