File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub struct Annotation {
29
29
30
30
#[ derive( Debug ) ]
31
31
pub enum AnnotationKind {
32
- Runnable { runnable : Runnable } ,
32
+ Runnable ( Runnable ) ,
33
33
HasImpls { position : FilePosition , data : Option < Vec < NavigationTarget > > } ,
34
34
HasReferences { position : FilePosition , data : Option < Vec < FileRange > > } ,
35
35
}
@@ -59,7 +59,7 @@ pub(crate) fn annotations(
59
59
60
60
let range = runnable. nav . focus_or_full_range ( ) ;
61
61
62
- annotations. push ( Annotation { range, kind : AnnotationKind :: Runnable { runnable } } ) ;
62
+ annotations. push ( Annotation { range, kind : AnnotationKind :: Runnable ( runnable) } ) ;
63
63
}
64
64
}
65
65
Original file line number Diff line number Diff line change @@ -993,7 +993,7 @@ pub(crate) fn code_lens(
993
993
annotation : Annotation ,
994
994
) -> Result < ( ) > {
995
995
match annotation. kind {
996
- AnnotationKind :: Runnable { runnable : run } => {
996
+ AnnotationKind :: Runnable ( run) => {
997
997
let line_index = snap. file_line_index ( run. nav . file_id ) ?;
998
998
let annotation_range = range ( & line_index, annotation. range ) ;
999
999
You can’t perform that action at this time.
0 commit comments