diff options
author | kjeremy <[email protected]> | 2019-02-04 17:49:29 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-02-04 17:49:29 +0000 |
commit | 20e9aa2364f39a2cb19a77044c6dedf7fedb0176 (patch) | |
tree | 4428476367aa3bb9fa53205ed1944514312e94c8 /crates/ra_lsp_server/src | |
parent | 88702a758f031f33452e9acac621841552ec9f8a (diff) |
Future proof by explicitly matching against None
Diffstat (limited to 'crates/ra_lsp_server/src')
-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 { |