Skip to content

Commit e52d456

Browse files
authored
fix: correct SyntaxNode::nth_parent documentation (#8980)
1 parent d198262 commit e52d456

File tree

1 file changed

+1
-1
lines changed
  • crates/cairo-lang-syntax/src/node

1 file changed

+1
-1
lines changed

crates/cairo-lang-syntax/src/node/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl<'db> SyntaxNode<'db> {
174174
}
175175
}
176176

177-
/// Returns the stable pointer of the `n`th parent of this stable pointer.
177+
/// Returns the `n`th parent of this syntax node.
178178
/// n = 0: returns itself.
179179
/// n = 1: return the parent.
180180
/// n = 2: return the grand parent.

0 commit comments

Comments
 (0)