fix typos

This commit is contained in:
sunface
2022-03-01 20:12:55 +08:00
parent bc36dd3a01
commit 0d33ca24bf
7 changed files with 31 additions and 13 deletions

View File

@ -166,11 +166,11 @@ fn main() {
// 移除以下代码,使用 `match` 代替
if let Foo::Bar = a {
println!("matches foo::bar")
println!("match foo::bar")
} else if let Foo::Baz = a {
println!("matches foo::baz")
println!("match foo::baz")
} else {
println!("matches others")
println!("match others")
}
}
```

View File

@ -1 +0,0 @@
# Option destructing