From 20e9aa2364f39a2cb19a77044c6dedf7fedb0176 Mon Sep 17 00:00:00 2001 From: kjeremy Date: Mon, 4 Feb 2019 12:49:29 -0500 Subject: [PATCH] Future proof by explicitly matching against None --- crates/ra_lsp_server/src/main_loop/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 9e2cc8ffcc..c25adb8b91 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 data: None, }); } - _ => { + None => { return Ok(CodeLens { range: code_lens.range, command: Some(Command {