Range formatting API (#9635)

This commit is contained in:
Micha Reiser 2024-01-31 11:13:37 +01:00 committed by GitHub
parent 6bb126415d
commit ce14f4dea5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
65 changed files with 3273 additions and 762 deletions

View file

@ -5978,9 +5978,10 @@ impl<'a> AnyNodeRef<'a> {
)
}
pub fn visit_preorder<'b, V>(&'b self, visitor: &mut V)
pub fn visit_preorder<'b, V>(self, visitor: &mut V)
where
V: PreorderVisitor<'b> + ?Sized,
'a: 'b,
{
match self {
AnyNodeRef::ModModule(node) => node.visit_preorder(visitor),