diff options
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r-- | crates/ra_ide_api/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_ide_api/src/db.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/Cargo.toml b/crates/ra_ide_api/Cargo.toml index f919a2d61..73f39b647 100644 --- a/crates/ra_ide_api/Cargo.toml +++ b/crates/ra_ide_api/Cargo.toml | |||
@@ -12,7 +12,7 @@ format-buf = "1.0.0" | |||
12 | itertools = "0.8.0" | 12 | itertools = "0.8.0" |
13 | join_to_string = "0.1.3" | 13 | join_to_string = "0.1.3" |
14 | log = "0.4.5" | 14 | log = "0.4.5" |
15 | relative-path = "0.4.0" | 15 | relative-path = "1.0.0" |
16 | rayon = "1.0.2" | 16 | rayon = "1.0.2" |
17 | fst = { version = "0.3.1", default-features = false } | 17 | fst = { version = "0.3.1", default-features = false } |
18 | rustc-hash = "1.0" | 18 | rustc-hash = "1.0" |
diff --git a/crates/ra_ide_api/src/db.rs b/crates/ra_ide_api/src/db.rs index bbf04bcf7..9146b647a 100644 --- a/crates/ra_ide_api/src/db.rs +++ b/crates/ra_ide_api/src/db.rs | |||
@@ -58,7 +58,7 @@ impl hir::debug::HirDebugHelper for RootDatabase { | |||
58 | let source_root_id = self.file_source_root(file_id); | 58 | let source_root_id = self.file_source_root(file_id); |
59 | let source_root_path = self.debug_data.root_paths.get(&source_root_id)?; | 59 | let source_root_path = self.debug_data.root_paths.get(&source_root_id)?; |
60 | let file_path = self.file_relative_path(file_id); | 60 | let file_path = self.file_relative_path(file_id); |
61 | Some(format!("{}/{}", source_root_path, file_path.display())) | 61 | Some(format!("{}/{}", source_root_path, file_path)) |
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||