aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-29 16:06:46 +0100
committerAleksey Kladov <[email protected]>2018-08-29 16:06:46 +0100
commit2e2c2e62eb6fccddae6bcc2ae22b83f209d05d0c (patch)
treeedef2a84c2812b4946e2ed101390f52579b9522b /crates
parentfce6bc0acc375f38dd3c95f6c7a2c24360914046 (diff)
Remove dead code
Diffstat (limited to 'crates')
-rw-r--r--crates/libanalysis/src/lib.rs19
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
28use relative_path::{RelativePath,RelativePathBuf}; 28use relative_path::RelativePath;
29use once_cell::sync::OnceCell; 29use once_cell::sync::OnceCell;
30use rayon::prelude::*; 30use rayon::prelude::*;
31 31
@@ -138,23 +138,6 @@ impl WorldState {
138 } 138 }
139} 139}
140 140
141#[derive(Debug)]
142pub struct QuickFix {
143 pub fs_ops: Vec<FsOp>,
144}
145
146#[derive(Debug)]
147pub enum FsOp {
148 CreateFile {
149 anchor: FileId,
150 path: RelativePathBuf,
151 },
152 MoveFile {
153 file: FileId,
154 path: RelativePathBuf,
155 }
156}
157
158impl World { 141impl 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)?;