mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
cancelation tokens
This commit is contained in:
parent
902df0fc05
commit
efa6a952b4
3 changed files with 54 additions and 0 deletions
|
@ -7,10 +7,13 @@ extern crate libeditor;
|
|||
extern crate fst;
|
||||
extern crate rayon;
|
||||
extern crate relative_path;
|
||||
#[macro_use]
|
||||
extern crate crossbeam_channel;
|
||||
|
||||
mod symbol_index;
|
||||
mod module_map;
|
||||
mod imp;
|
||||
mod job;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
|
@ -22,6 +25,7 @@ pub use libeditor::{
|
|||
StructureNode, LineIndex, FileSymbol,
|
||||
Runnable, RunnableKind, HighlightedRange, CompletionItem,
|
||||
};
|
||||
pub use job::{JobToken, JobHandle};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
pub struct FileId(pub u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue