diff options
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/algo/mod.rs | 2 |
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)] |
50 | pub enum LeafAtOffset<'a> { | 50 | pub enum LeafAtOffset<'a> { |
51 | None, | 51 | None, |
52 | Single(SyntaxNodeRef<'a>), | 52 | Single(SyntaxNodeRef<'a>), |