mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Fixing a typo at match-iflet
This commit is contained in:
@ -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!(__)
|
||||
}
|
||||
|
Reference in New Issue
Block a user