We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SyntaxNode::descendants
1 parent 8d77118 commit 44eed82Copy full SHA for 44eed82
crates/cairo-lang-syntax/src/node/mod.rs
@@ -325,7 +325,7 @@ impl<'a> SyntaxNode<'a> {
325
/// This is a shortcut for [`Self::preorder`] paired with filtering for [`WalkEvent::Enter`]
326
/// events only.
327
pub fn descendants(
328
- &'a self,
+ &self,
329
db: &'a dyn SyntaxGroup,
330
) -> impl Iterator<Item = SyntaxNode<'a>> + 'a {
331
self.preorder(db).filter_map(|event| match event {
0 commit comments