Slightly refactor inlay hints

This commit is contained in:
Aleksey Kladov 2020-02-29 23:24:50 +01:00
parent 2e0d89401a
commit 584c8d9875
2 changed files with 60 additions and 71 deletions

View file

@ -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<N> {
inner: SyntaxNodeChildren,
ph: PhantomData<N>,