File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiler-core/checking/src
compiler-lsp/analyzer/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9292 . map ( |signature| convert:: signature_type_to_core ( state, context, signature) ) ;
9393
9494 if let Some ( DataIr { variables } ) = data {
95- let inferred_type = create_type_declaration_kind ( state, context, & variables) ;
95+ let inferred_type = create_type_declaration_kind ( state, context, variables) ;
9696 for constructor_id in context. indexed . pairs . data_constructors ( item_id) {
9797 let Some ( TermItemIr :: Constructor { arguments } ) =
9898 context. lowered . info . get_term_item ( constructor_id)
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ fn pointers_range(
6363 pointers : impl Iterator < Item = SyntaxNodePtr > ,
6464) -> Result < Range , AnalyzerError > {
6565 pointers
66- . filter_map ( |ptr| locate:: syntax_range ( & content, & root, & ptr) )
66+ . filter_map ( |ptr| locate:: syntax_range ( content, & root, & ptr) )
6767 . reduce ( |start, end| Range { start : start. start , end : end. end } )
6868 . ok_or ( AnalyzerError :: NonFatal )
6969}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pub fn workspace(
2121
2222 if let Some ( exact_symbols) = cache. get ( & query) {
2323 tracing:: debug!( "Found exact match for '{query}'" ) ;
24- let flat = Vec :: clone ( & * exact_symbols) ;
24+ let flat = Vec :: clone ( exact_symbols) ;
2525 return Ok ( Some ( WorkspaceSymbolResponse :: Flat ( flat) ) ) ;
2626 }
2727
You can’t perform that action at this time.
0 commit comments