clippy lint
This commit is contained in:
parent
dc8df7ba21
commit
bf8437d098
1 changed files with 7 additions and 9 deletions
|
@ -403,15 +403,13 @@ 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,
|
Some(params.iter().map(|x| x.as_str()).collect()),
|
||||||
Some(params.iter().map(|x| x.as_str()).collect()),
|
) {
|
||||||
) {
|
cx.editor.set_error(e.to_string());
|
||||||
cx.editor.set_error(e.to_string());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue