"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()
|
||||
/// .expect("failed to execute child");
|
||||
///
|
||||
/// let ecode = child.wait()
|
||||
/// .expect("failed to wait on child");
|
||||
/// let ecode = child.wait().expect("failed to wait on child");
|
||||
///
|
||||
/// assert!(ecode.success());
|
||||
/// ```
|
||||
|
@ -502,8 +501,7 @@ impl fmt::Debug for ChildStderr {
|
|||
/// use std::process::Command;
|
||||
///
|
||||
/// let mut echo_hello = Command::new("sh");
|
||||
/// echo_hello.arg("-c")
|
||||
/// .arg("echo hello");
|
||||
/// echo_hello.arg("-c").arg("echo hello");
|
||||
/// let hello_1 = 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