From 3725338a28fb8b4c4c52764a08f5b95aac16ecb2 Mon Sep 17 00:00:00 2001 From: Craig Roy Date: Thu, 11 Apr 2024 10:12:29 +0100 Subject: [PATCH] doc: Specify direct children in `HugrView::children` --- hugr/src/hugr/views.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugr/src/hugr/views.rs b/hugr/src/hugr/views.rs index 649ae522e..5b3354dd9 100644 --- a/hugr/src/hugr/views.rs +++ b/hugr/src/hugr/views.rs @@ -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.