@@ -1422,7 +1422,7 @@ impl<'ast> ast::visit::Visit<'ast> for QualifiedToUnqualifiedImportFirstPass<'as
14221422 name : & ' ast EcoString ,
14231423 arguments : & ' ast Vec < ast:: TypeAst > ,
14241424 ) {
1425- let range = src_span_to_lsp_range ( * location, & self . line_numbers ) ;
1425+ let range = src_span_to_lsp_range ( * location, self . line_numbers ) ;
14261426 if overlaps ( self . params . range , range) {
14271427 if let Some ( ( module_alias, _) ) = module {
14281428 if let Some ( import) = self . module . find_node ( location. end ) . and_then ( |node| {
@@ -1468,7 +1468,7 @@ impl<'ast> ast::visit::Visit<'ast> for QualifiedToUnqualifiedImportFirstPass<'as
14681468 // option.Some
14691469 // ↑
14701470 // This allows us to offer a code action when hovering over the module name.
1471- let range = src_span_to_lsp_range ( * location, & self . line_numbers ) ;
1471+ let range = src_span_to_lsp_range ( * location, self . line_numbers ) ;
14721472 if overlaps ( self . params . range , range) {
14731473 if let ModuleValueConstructor :: Record {
14741474 name : constructor_name,
@@ -1511,7 +1511,7 @@ impl<'ast> ast::visit::Visit<'ast> for QualifiedToUnqualifiedImportFirstPass<'as
15111511 spread : & ' ast Option < SrcSpan > ,
15121512 type_ : & ' ast Arc < Type > ,
15131513 ) {
1514- let range = src_span_to_lsp_range ( * location, & self . line_numbers ) ;
1514+ let range = src_span_to_lsp_range ( * location, self . line_numbers ) ;
15151515 if overlaps ( self . params . range , range) {
15161516 if let Some ( ( module_alias, _) ) = module {
15171517 if let crate :: analyse:: Inferred :: Known ( constructor) = constructor {
@@ -1996,7 +1996,7 @@ impl<'ast> ast::visit::Visit<'ast> for UnqualifiedToQualifiedImportFirstPass<'as
19961996 if module. is_none ( )
19971997 && overlaps (
19981998 self . params . range ,
1999- src_span_to_lsp_range ( * location, & self . line_numbers ) ,
1999+ src_span_to_lsp_range ( * location, self . line_numbers ) ,
20002000 )
20012001 {
20022002 self . get_module_import_from_type_constructor ( name) ;
@@ -2018,7 +2018,7 @@ impl<'ast> ast::visit::Visit<'ast> for UnqualifiedToQualifiedImportFirstPass<'as
20182018 constructor : & ' ast ValueConstructor ,
20192019 name : & ' ast EcoString ,
20202020 ) {
2021- let range = src_span_to_lsp_range ( * location, & self . line_numbers ) ;
2021+ let range = src_span_to_lsp_range ( * location, self . line_numbers ) ;
20222022 if overlaps ( self . params . range , range) {
20232023 if let Some ( module_name) = match & constructor. variant {
20242024 type_:: ValueConstructorVariant :: ModuleConstant { module, .. }
@@ -2048,7 +2048,7 @@ impl<'ast> ast::visit::Visit<'ast> for UnqualifiedToQualifiedImportFirstPass<'as
20482048 if module. is_none ( )
20492049 && overlaps (
20502050 self . params . range ,
2051- src_span_to_lsp_range ( * location, & self . line_numbers ) ,
2051+ src_span_to_lsp_range ( * location, self . line_numbers ) ,
20522052 )
20532053 {
20542054 if let crate :: analyse:: Inferred :: Known ( constructor) = constructor {
0 commit comments