aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/path_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/path_map.rs b/crates/ra_lsp_server/src/path_map.rs
index 33babda4b..02e54629c 100644
--- a/crates/ra_lsp_server/src/path_map.rs
+++ b/crates/ra_lsp_server/src/path_map.rs
@@ -33,7 +33,7 @@ impl PathMap {
33 let file_id = self 33 let file_id = self
34 .path2id 34 .path2id
35 .get(path.as_path()) 35 .get(path.as_path())
36 .cloned() 36 .map(|&id| id)
37 .unwrap_or_else(|| { 37 .unwrap_or_else(|| {
38 inserted = true; 38 inserted = true;
39 let id = self.new_file_id(); 39 let id = self.new_file_id();