mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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,
|
||||
});
|
||||
}
|
||||
_ => {
|
||||
None => {
|
||||
return Ok(CodeLens {
|
||||
range: code_lens.range,
|
||||
command: Some(Command {
|
||||
|
Loading…
Reference in New Issue
Block a user