fix: avoid unused variable warning

This commit is contained in:
Peter A. Bigot
2022-07-20 08:37:58 -07:00
parent d91ca79253
commit 697a0d754e
3 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ fn main() {
// FILL in the blank
let b = false;
let v = match b {
let _v = match b {
true => 1,
// Diverging functions can also be used in match expression
false => {