diff --git a/zh-CN/src/pattern-match/match-iflet.md b/zh-CN/src/pattern-match/match-iflet.md index 757ca7c..cbf1040 100644 --- a/zh-CN/src/pattern-match/match-iflet.md +++ b/zh-CN/src/pattern-match/match-iflet.md @@ -87,7 +87,7 @@ fn show_message(msg: Message) { fn main() { let alphabets = ['a', 'E', 'Z', '0', 'x', '9' , 'Y']; - // 使用 `matches` 填空 + // 使用 `matches!` 填空 for ab in alphabets { assert!(__) }