diff options
author | Aleksey Kladov <[email protected]> | 2018-08-29 16:06:46 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-29 16:06:46 +0100 |
commit | 2e2c2e62eb6fccddae6bcc2ae22b83f209d05d0c (patch) | |
tree | edef2a84c2812b4946e2ed101390f52579b9522b /crates | |
parent | fce6bc0acc375f38dd3c95f6c7a2c24360914046 (diff) |
Remove dead code
Diffstat (limited to 'crates')
-rw-r--r-- | crates/libanalysis/src/lib.rs | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs index 3f54a7f0d..ef749787a 100644 --- a/crates/libanalysis/src/lib.rs +++ b/crates/libanalysis/src/lib.rs | |||
@@ -25,7 +25,7 @@ use std::{ | |||
25 | time::Instant, | 25 | time::Instant, |
26 | }; | 26 | }; |
27 | 27 | ||
28 | use relative_path::{RelativePath,RelativePathBuf}; | 28 | use relative_path::RelativePath; |
29 | use once_cell::sync::OnceCell; | 29 | use once_cell::sync::OnceCell; |
30 | use rayon::prelude::*; | 30 | use rayon::prelude::*; |
31 | 31 | ||
@@ -138,23 +138,6 @@ impl WorldState { | |||
138 | } | 138 | } |
139 | } | 139 | } |
140 | 140 | ||
141 | #[derive(Debug)] | ||
142 | pub struct QuickFix { | ||
143 | pub fs_ops: Vec<FsOp>, | ||
144 | } | ||
145 | |||
146 | #[derive(Debug)] | ||
147 | pub enum FsOp { | ||
148 | CreateFile { | ||
149 | anchor: FileId, | ||
150 | path: RelativePathBuf, | ||
151 | }, | ||
152 | MoveFile { | ||
153 | file: FileId, | ||
154 | path: RelativePathBuf, | ||
155 | } | ||
156 | } | ||
157 | |||
158 | impl World { | 141 | impl World { |
159 | pub fn file_syntax(&self, file_id: FileId) -> Result<File> { | 142 | pub fn file_syntax(&self, file_id: FileId) -> Result<File> { |
160 | let data = self.file_data(file_id)?; | 143 | let data = self.file_data(file_id)?; |