From 9863b9161d8d702848516be70c5c8161b7f382e8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 11 Aug 2018 00:55:32 +0300 Subject: decorations --- crates/libanalysis/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/libanalysis') diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs index 6a946a0b0..74f043a9b 100644 --- a/crates/libanalysis/src/lib.rs +++ b/crates/libanalysis/src/lib.rs @@ -24,6 +24,7 @@ pub struct WorldState { data: Arc } +#[derive(Clone, Debug)] pub struct World { data: Arc, } @@ -119,12 +120,13 @@ impl World { } -#[derive(Default)] +#[derive(Default, Debug)] struct WorldData { mem_map: HashMap>, file_map: RwLock>>, } +#[derive(Debug)] struct FileData { text: Option, syntax: OnceCell, -- cgit v1.2.3