From ad9850800d322603672f36ef9a42d6bf914f9bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Fri, 17 Jul 2026 11:30:45 +0200 Subject: [PATCH] Update IncidenceCursor trait doc with note on Copy --- src/traits.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/traits.rs b/src/traits.rs index 096a316..9978912 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -210,6 +210,9 @@ pub trait GraphTopologyDeletion: GraphTopology { /// A cursor for traversing the incidences of a vertex one step at a time. /// +/// Because the cursor is [`Copy`], its state can be saved and restored to replay or branch a +/// traversal. +/// /// Cursors are obtained via [`GraphTopology::incidence_cursor`]. See /// [`GraphTopology::IncidenceCursor`] for guidance on when to prefer a cursor over /// [`GraphTopology::incidences`].