diff options
author | Aleksey Kladov <[email protected]> | 2020-02-29 22:24:50 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-29 22:24:50 +0000 |
commit | 584c8d987501273b7341685d52b71bdaa1c2461e (patch) | |
tree | cc0f2b5c841a5b1bf4ccaa4979f9d76f2d1edbe5 /crates/ra_syntax/src | |
parent | 2e0d89401a85edceaa2a8da6c6bb4cd9d8d17354 (diff) |
Slightly refactor inlay hints
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs index 9cc7930f7..4a70c712f 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -59,7 +59,7 @@ pub trait AstToken { | |||
59 | } | 59 | } |
60 | 60 | ||
61 | /// An iterator over `SyntaxNode` children of a particular AST type. | 61 | /// An iterator over `SyntaxNode` children of a particular AST type. |
62 | #[derive(Debug)] | 62 | #[derive(Debug, Clone)] |
63 | pub struct AstChildren<N> { | 63 | pub struct AstChildren<N> { |
64 | inner: SyntaxNodeChildren, | 64 | inner: SyntaxNodeChildren, |
65 | ph: PhantomData<N>, | 65 | ph: PhantomData<N>, |