mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Future proof by explicitly matching against None
This commit is contained in:
parent
88702a758f
commit
20e9aa2364
@ -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 New Issue
Block a user