mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Merge #739
739: Future proof by explicitly matching against None r=DJMcNab a=kjeremy Co-authored-by: kjeremy <kjeremy@gmail.com>
This commit is contained in:
commit
cc3423c662
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue