Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 4179e7d

Browse files
authored
Merge pull request #466 from Xanewok/compilation-fix
Revert "Remove unnecessary `&`"
2 parents ca84ba5 + b7f42dc commit 4179e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl ActionHandler {
257257

258258
pub fn find_impls<O: Output>(&self, id: usize, params: TextDocumentPositionParams, out: O) {
259259
let t = thread::current();
260-
let file_path = parse_file_path!(params.text_document.uri, "find_impls");
260+
let file_path = parse_file_path!(&params.text_document.uri, "find_impls");
261261
let span = self.convert_pos_to_span(file_path, params.position);
262262
let type_id = self.analysis.id(&span).expect("Analysis: Getting typeid from span");
263263
let analysis = self.analysis.clone();

0 commit comments

Comments
 (0)