Skip to content

Commit

Permalink
docs: Specify direct children in HugrView::children (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor authored Apr 11, 2024
1 parent d98fb79 commit 75e75e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugr/src/hugr/views.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ pub trait HugrView: sealed::HugrInternals {
self.num_ports(node, Direction::Outgoing)
}

/// Return iterator over children of node.
/// Return iterator over the direct children of node.
fn children(&self, node: Node) -> Self::Children<'_>;

/// Iterates over neighbour nodes in the given direction.
Expand Down

0 comments on commit 75e75e8

Please sign in to comment.