aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index aea94ad0d..49c3055f3 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -665,7 +665,7 @@ pub fn handle_code_action(
665 665
666 let assists = world.analysis().assists(FileRange { file_id, range })?.into_iter(); 666 let assists = world.analysis().assists(FileRange { file_id, range })?.into_iter();
667 let diagnostics = world.analysis().diagnostics(file_id)?; 667 let diagnostics = world.analysis().diagnostics(file_id)?;
668 let mut res: CodeActionResponse = Default::default(); 668 let mut res = CodeActionResponse::default();
669 669
670 let fixes_from_diagnostics = diagnostics 670 let fixes_from_diagnostics = diagnostics
671 .into_iter() 671 .into_iter()