Skip to content

Commit 279d203

Browse files
Update pipe.md
将"必需"改成"必须"
1 parent 94ef6ea commit 279d203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std_misc/process/pipe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn main() {
3232
//
3333
// 这点非常重要,因为否则 `wc` 就不会开始处理我们刚刚发送的输入。
3434
35-
// `stdout` 字段也拥有 `Option<ChildStdout>` 类型,所以必需解包
35+
// `stdout` 字段也拥有 `Option<ChildStdout>` 类型,所以必须解包
3636
let mut s = String::new();
3737
match process.stdout.unwrap().read_to_string(&mut s) {
3838
Err(why) => panic!("couldn't read wc stdout: {:?}", why),

0 commit comments

Comments
 (0)