From 081c16c77642a5c86ed72c5fbd11deccc2edd5d5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 17 Aug 2018 15:37:17 +0300 Subject: initial mod resolve --- crates/libeditor/src/symbols.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/libeditor/src') diff --git a/crates/libeditor/src/symbols.rs b/crates/libeditor/src/symbols.rs index 2585d9579..ce870430e 100644 --- a/crates/libeditor/src/symbols.rs +++ b/crates/libeditor/src/symbols.rs @@ -9,7 +9,7 @@ use libsyntax2::{ }; use TextRange; -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct StructureNode { pub parent: Option, pub label: String, @@ -18,7 +18,7 @@ pub struct StructureNode { pub kind: SyntaxKind, } -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct FileSymbol { pub name: SmolStr, pub node_range: TextRange, -- cgit v1.2.3