diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-04 18:05:33 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-04 18:05:33 +0000 |
commit | cc3423c662b671680042ae6d83f01113f1bbb089 (patch) | |
tree | 4428476367aa3bb9fa53205ed1944514312e94c8 /crates | |
parent | 88702a758f031f33452e9acac621841552ec9f8a (diff) | |
parent | 20e9aa2364f39a2cb19a77044c6dedf7fedb0176 (diff) |
Merge #739
739: Future proof by explicitly matching against None r=DJMcNab a=kjeremy
Co-authored-by: kjeremy <[email protected]>
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 9e2cc8ffc..c25adb8b9 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -727,7 +727,7 @@ pub fn handle_code_lens_resolve(world: ServerWorld, code_lens: CodeLens) -> Resu | |||
727 | data: None, | 727 | data: None, |
728 | }); | 728 | }); |
729 | } | 729 | } |
730 | _ => { | 730 | None => { |
731 | return Ok(CodeLens { | 731 | return Ok(CodeLens { |
732 | range: code_lens.range, | 732 | range: code_lens.range, |
733 | command: Some(Command { | 733 | command: Some(Command { |