This commit is contained in:
Aleksey Kladov
2021-07-11 13:49:38 +03:00
parent ddce16a126
commit a04775060c
2 changed files with 3 additions and 3 deletions

View File

@@ -993,7 +993,7 @@ pub(crate) fn code_lens(
annotation: Annotation,
) -> Result<()> {
match annotation.kind {
AnnotationKind::Runnable { runnable: run } => {
AnnotationKind::Runnable(run) => {
let line_index = snap.file_line_index(run.nav.file_id)?;
let annotation_range = range(&line_index, annotation.range);