Remove dead code
This commit is contained in:
parent
fce6bc0acc
commit
2e2c2e62eb
@ -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)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user