Merge pull request #273 from pabigot/pabigot/20220720a

fix: avoid unused variable warning
This commit is contained in:
Sunface
2022-07-28 09:07:14 +08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ fn main() {
// 填空
let b = __;
let v = match b {
let _v = match b {
true => 1,
// 发散函数也可以用于 `match` 表达式,用于替代任何类型的值
false => {