Skip to content

Commit 30a3941

Browse files
author
Mingshen Sun
committed
Change example of with_stdin to show the chaining
1 parent 474f868 commit 30a3941

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stdin.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub trait CommandStdInExt {
2121
/// use std::process::Command;
2222
///
2323
/// Command::new("cat")
24+
/// .arg("-A")
2425
/// .with_stdin("42")
2526
/// .unwrap();
2627
/// ```

0 commit comments

Comments
 (0)