From 584c8d987501273b7341685d52b71bdaa1c2461e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 29 Feb 2020 23:24:50 +0100 Subject: Slightly refactor inlay hints --- crates/ra_syntax/src/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax') 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 { } /// An iterator over `SyntaxNode` children of a particular AST type. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct AstChildren { inner: SyntaxNodeChildren, ph: PhantomData, -- cgit v1.2.3