aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/algo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/algo/mod.rs b/crates/ra_syntax/src/algo/mod.rs
index 87f1250bc..d82c42b3e 100644
--- a/crates/ra_syntax/src/algo/mod.rs
+++ b/crates/ra_syntax/src/algo/mod.rs
@@ -46,7 +46,7 @@ pub fn find_leaf_at_offset(node: SyntaxNodeRef, offset: TextUnit) -> LeafAtOffse
46 } 46 }
47} 47}
48 48
49#[derive(Clone, Copy, Debug)] 49#[derive(Clone, Debug)]
50pub enum LeafAtOffset<'a> { 50pub enum LeafAtOffset<'a> {
51 None, 51 None,
52 Single(SyntaxNodeRef<'a>), 52 Single(SyntaxNodeRef<'a>),