aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/symbols.rs4
1 files changed, 2 insertions, 2 deletions
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::{
9}; 9};
10use TextRange; 10use TextRange;
11 11
12#[derive(Debug)] 12#[derive(Debug, Clone)]
13pub struct StructureNode { 13pub struct StructureNode {
14 pub parent: Option<usize>, 14 pub parent: Option<usize>,
15 pub label: String, 15 pub label: String,
@@ -18,7 +18,7 @@ pub struct StructureNode {
18 pub kind: SyntaxKind, 18 pub kind: SyntaxKind,
19} 19}
20 20
21#[derive(Debug)] 21#[derive(Debug, Clone)]
22pub struct FileSymbol { 22pub struct FileSymbol {
23 pub name: SmolStr, 23 pub name: SmolStr,
24 pub node_range: TextRange, 24 pub node_range: TextRange,