Future proof by explicitly matching against None

This commit is contained in:
kjeremy 2019-02-04 12:49:29 -05:00
parent 88702a758f
commit 20e9aa2364

View File

@ -727,7 +727,7 @@ pub fn handle_code_lens_resolve(world: ServerWorld, code_lens: CodeLens) -> Resu
data: None, data: None,
}); });
} }
_ => { None => {
return Ok(CodeLens { return Ok(CodeLens {
range: code_lens.range, range: code_lens.range,
command: Some(Command { command: Some(Command {