mirror of
https://github.com/rustdesk/qemu-display.git
synced 2026-10-23 00:37:20 +00:00
Clippy fixes
This commit is contained in:
1 parent
124d893395
commit
b787a2c0bc
3 files changed
+5
-7
No files matched your search
+1
-1
@@ -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(),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user