diff options
author | Jeremy Kolb <[email protected]> | 2019-07-04 21:52:29 +0100 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2019-07-04 21:57:52 +0100 |
commit | ad4276ac057a940617e757f67c2d0d164599b6a6 (patch) | |
tree | 3446433182c2bb5d73bbb646f8b5daff24faa155 /crates | |
parent | 9bfdab7089429bd6f43d1e2683598d40eb476c2a (diff) |
Change default()
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 2 |
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() |