From c3045c68a95d34d9381dc288dde7cb00a6cefeef Mon Sep 17 00:00:00 2001 From: kjeremy Date: Tue, 15 Oct 2019 10:44:26 -0400 Subject: relative-path 1.0 --- crates/ra_ide_api/src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide_api/src/db.rs') 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 { let source_root_id = self.file_source_root(file_id); let source_root_path = self.debug_data.root_paths.get(&source_root_id)?; let file_path = self.file_relative_path(file_id); - Some(format!("{}/{}", source_root_path, file_path.display())) + Some(format!("{}/{}", source_root_path, file_path)) } } -- cgit v1.2.3