mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
fix: avoid unused variable warning
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user