Remove dead code

This commit is contained in:
Aleksey Kladov 2018-08-29 18:06:46 +03:00
parent fce6bc0acc
commit 2e2c2e62eb
1 changed files with 1 additions and 18 deletions

View File

@ -25,7 +25,7 @@ use std::{
time::Instant,
};
use relative_path::{RelativePath,RelativePathBuf};
use relative_path::RelativePath;
use once_cell::sync::OnceCell;
use rayon::prelude::*;
@ -138,23 +138,6 @@ impl WorldState {
}
}
#[derive(Debug)]
pub struct QuickFix {
pub fs_ops: Vec<FsOp>,
}
#[derive(Debug)]
pub enum FsOp {
CreateFile {
anchor: FileId,
path: RelativePathBuf,
},
MoveFile {
file: FileId,
path: RelativePathBuf,
}
}
impl World {
pub fn file_syntax(&self, file_id: FileId) -> Result<File> {
let data = self.file_data(file_id)?;