adamrk commented on issue #3498:
Is that something where these two methods of skipping can get unified into one which uses
next_sibling
and/ornext_dfs
?Yeah good point. Looking at
skip_at_depth
more carefully, I think it is used for skipping a node and all its children, so we can just reuse that here. I added some comments describing how it works.
alexcrichton commented on issue #3498:
Thanks!
Last updated: Dec 23 2024 at 13:07 UTC