diff options
author | kjeremy <[email protected]> | 2019-10-15 15:44:26 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-10-17 18:08:33 +0100 |
commit | c3045c68a95d34d9381dc288dde7cb00a6cefeef (patch) | |
tree | d19e51f41505b4170097312e74a94db04b3c4df1 /crates/ra_ide_api/src | |
parent | 6b588004c6853eeef9557ddcef90304d612367c0 (diff) |
relative-path 1.0
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||