mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Slightly refactor inlay hints
This commit is contained in:
parent
2e0d89401a
commit
584c8d9875
2 changed files with 60 additions and 71 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue