diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-29 22:32:27 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-29 22:32:27 +0000 |
commit | 6db2da4993d3956fc7c8ebf152963a132611426a (patch) | |
tree | f6313fbee2ab069b0b623d53ba9202058453fa19 /crates/ra_syntax | |
parent | 61fe34b709cc487b96046e11ac949684572b1629 (diff) | |
parent | 584c8d987501273b7341685d52b71bdaa1c2461e (diff) |
Merge #3383
3383: Slightly refactor inlay hints r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax')
-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>, |