From baa6775156addc3c729557c2ea64b867ba51aad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Wed, 21 Oct 2026 22:03:40 +0200 Subject: [PATCH] Fix docs in testing helper assert_valid_path --- src/testing/fixtures.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testing/fixtures.rs b/src/testing/fixtures.rs index 067b3e9..1a431b5 100644 --- a/src/testing/fixtures.rs +++ b/src/testing/fixtures.rs @@ -320,8 +320,8 @@ pub fn assert_standard_unweighted_predecessors_v0( /// Asserts that the path given as `path_option` is a valid path in `graph` /// /// Walks the path and asserts that it is `Some`, that it is empty if and only if -/// `source == target`, that its edges are pairwise incident in the order given, and that it starts -/// at `source` and ends at `target`. +/// `source == target` for any `target` in `targets`, that its edges are pairwise incident in the +/// order given, and that it starts at `source` and ends at any `target` in `targets`. pub fn assert_valid_path( graph: &G, path_option: Option>,