mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Future proof by explicitly matching against None
This commit is contained in:
parent
88702a758f
commit
20e9aa2364
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…
Add table
Add a link
Reference in a new issue