This repository was archived by the owner on Dec 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,8 @@ impl RequestAction for References {
223
223
ctx : InitActionContext ,
224
224
params : Self :: Params ,
225
225
) -> Result < Self :: Response , ResponseError > {
226
- let file_path = parse_file_path ! ( & params. text_document_position. text_document. uri, "find_all_refs" ) ?;
226
+ let file_path =
227
+ parse_file_path ! ( & params. text_document_position. text_document. uri, "find_all_refs" ) ?;
227
228
let span = ctx. convert_pos_to_span ( file_path, params. text_document_position . position ) ;
228
229
229
230
let result =
@@ -251,7 +252,8 @@ impl RequestAction for Completion {
251
252
return Self :: fallback_response ( ) ;
252
253
}
253
254
254
- let file_path = parse_file_path ! ( & params. text_document_position. text_document. uri, "complete" ) ?;
255
+ let file_path =
256
+ parse_file_path ! ( & params. text_document_position. text_document. uri, "complete" ) ?;
255
257
256
258
let cache = ctx. racer_cache ( ) ;
257
259
let session = ctx. racer_session ( & cache) ;
@@ -329,7 +331,8 @@ impl RequestAction for Rename {
329
331
// data is ready.
330
332
ctx. block_on_build ( ) ;
331
333
332
- let file_path = parse_file_path ! ( & params. text_document_position. text_document. uri, "rename" ) ?;
334
+ let file_path =
335
+ parse_file_path ! ( & params. text_document_position. text_document. uri, "rename" ) ?;
333
336
let span = ctx. convert_pos_to_span ( file_path, params. text_document_position . position ) ;
334
337
335
338
let analysis = ctx. analysis ;
You can’t perform that action at this time.
0 commit comments