mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 20:43:03 +00:00
fix code actions
This commit is contained in:
parent
baaf027da0
commit
804e29402a
@ -418,7 +418,7 @@ pub fn handle_code_action(
|
|||||||
let edit = source_edit.try_conv_with(&world)?;
|
let edit = source_edit.try_conv_with(&world)?;
|
||||||
let cmd = Command {
|
let cmd = Command {
|
||||||
title,
|
title,
|
||||||
command: "libsyntax-rust.applySourceChange".to_string(),
|
command: "ra-lsp.applySourceChange".to_string(),
|
||||||
arguments: Some(vec![to_value(edit).unwrap()]),
|
arguments: Some(vec![to_value(edit).unwrap()]),
|
||||||
};
|
};
|
||||||
res.push(cmd);
|
res.push(cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user