aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-08-06 04:58:20 -0400
committerTeddy Wing2016-08-06 04:58:20 -0400
commit436a22b1a6b82e9a73a4a1781970da50b350ecee (patch)
treed447a3f22af7428f940d745fe63641ad9a938eee
parent31bb6424e38e35e76dea4d4921dbdff4009abca7 (diff)
downloadPassextract-436a22b1a6b82e9a73a4a1781970da50b350ecee.tar.bz2
Remove unused variable in getchar pattern match
Use `_` for the default/general case. Do nothing in this case, just continue looping.
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 863fc65..54d8006 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -91,8 +91,7 @@ fn main() {
}
}
}
- c @ _ => {
- }
+ _ => { continue }
}
}