diff --git a/book/contents/basic/match-pattern/match-if-let.md b/book/contents/basic/match-pattern/match-if-let.md index 2cac6f78..929c622f 100644 --- a/book/contents/basic/match-pattern/match-if-let.md +++ b/book/contents/basic/match-pattern/match-if-let.md @@ -258,7 +258,7 @@ match some_u8_value { 杀鸡焉用牛刀,可以用 `if let` 的方式来实现: ```rust -if let Some(3) = some_u8_value { +if let Some(3) = v { println!("three"); } ```