mirror of
https://github.com/rustdesk/qemu-display.git
synced 2026-04-15 04:06:25 +00:00
Clippy fixes
This commit is contained in:
@@ -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