Clippy fixes

This commit is contained in:
Marc-André Lureau committed 2021-03-08 01:02:59 +04:00
1 parent 124d893395
commit b787a2c0bc
3 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ fn main() {
fn try_main() -> Result<(), DynError> {
let task = env::args().nth(1);
match task.as_ref().map(|it| it.as_str()) {
match task.as_deref() {
Some("codegen") => codegen()?,
_ => print_help(),
}