Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/std_misc/process/pipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn main() {
//
// 这点非常重要,因为否则 `wc` 就不会开始处理我们刚刚发送的输入。

// `stdout` 字段也拥有 `Option<ChildStdout>` 类型,所以必需解包
// `stdout` 字段也拥有 `Option<ChildStdout>` 类型,所以必须解包
let mut s = String::new();
match process.stdout.unwrap().read_to_string(&mut s) {
Err(why) => panic!("couldn't read wc stdout: {:?}", why),
Expand Down
Loading