clippy lint

This commit is contained in:
Blaž Hrastnik 2021-12-05 14:55:35 +09:00
parent dc8df7ba21
commit bf8437d098

View file

@ -403,8 +403,7 @@ fn debug_parameter_prompt(
Ok(call) Ok(call)
}); });
cx.jobs.callback(callback); cx.jobs.callback(callback);
} else { } else if let Err(e) = dap_start_impl(
if let Err(e) = dap_start_impl(
cx, cx,
Some(&config_name), Some(&config_name),
None, None,
@ -412,7 +411,6 @@ fn debug_parameter_prompt(
) { ) {
cx.editor.set_error(e.to_string()); cx.editor.set_error(e.to_string());
} }
}
}, },
) )
} }