]> git.lizzy.rs Git - rust.git/blobdiff - crates/ra_ide_db/src/change.rs
Remove relative_path dependency
[rust.git] / crates / ra_ide_db / src / change.rs
index 84c6f40ff2163d69a34d2b8835e8d29c5f22a68b..d1a255dcfcf7e32315163af728c5022382bb447d 100644 (file)
@@ -5,8 +5,7 @@
 
 use ra_db::{
     salsa::{Database, Durability, SweepStrategy},
-    CrateGraph, FileId, RelativePathBuf, SourceDatabase, SourceDatabaseExt, SourceRoot,
-    SourceRootId,
+    CrateGraph, FileId, SourceDatabase, SourceDatabaseExt, SourceRoot, SourceRootId,
 };
 use ra_prof::{memory_usage, profile, Bytes};
 use rustc_hash::FxHashSet;
@@ -57,14 +56,14 @@ pub fn set_crate_graph(&mut self, graph: CrateGraph) {
 #[derive(Debug)]
 struct AddFile {
     file_id: FileId,
-    path: RelativePathBuf,
+    path: String,
     text: Arc<String>,
 }
 
 #[derive(Debug)]
 struct RemoveFile {
     file_id: FileId,
-    path: RelativePathBuf,
+    path: String,
 }
 
 #[derive(Default)]