diff options
author | Aleksey Kladov <[email protected]> | 2018-10-15 19:54:12 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-15 19:54:12 +0100 |
commit | 7503c5528f20f7404bac6f70bcf2120edb54dc52 (patch) | |
tree | 24fcb97a156f01c38a3e3f5e6b6d031870bbcb43 /crates/ra_analysis/src/roots.rs | |
parent | 062019590d70279d82fef3a60a2caf9490f8b97b (diff) |
fix tests
Diffstat (limited to 'crates/ra_analysis/src/roots.rs')
-rw-r--r-- | crates/ra_analysis/src/roots.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/roots.rs b/crates/ra_analysis/src/roots.rs index 692a07ccd..766548c70 100644 --- a/crates/ra_analysis/src/roots.rs +++ b/crates/ra_analysis/src/roots.rs | |||
@@ -78,7 +78,6 @@ impl SourceRoot for WritableSourceRoot { | |||
78 | fn contains(&self, file_id: FileId) -> bool { | 78 | fn contains(&self, file_id: FileId) -> bool { |
79 | let db = self.db.read(); | 79 | let db = self.db.read(); |
80 | let files = &db.file_set(()).files; | 80 | let files = &db.file_set(()).files; |
81 | eprintln!("files = {:?}", files); | ||
82 | files.contains(&file_id) | 81 | files.contains(&file_id) |
83 | } | 82 | } |
84 | fn lines(&self, file_id: FileId) -> Arc<LineIndex> { | 83 | fn lines(&self, file_id: FileId) -> Arc<LineIndex> { |