Fix docs in testing helper assert_valid_path
This commit is contained in:
@@ -320,8 +320,8 @@ pub fn assert_standard_unweighted_predecessors_v0<V: Debug + Copy + PartialEq>(
|
|||||||
/// Asserts that the path given as `path_option` is a valid path in `graph`
|
/// 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
|
/// 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
|
/// `source == target` for any `target` in `targets`, that its edges are pairwise incident in the
|
||||||
/// at `source` and ends at `target`.
|
/// order given, and that it starts at `source` and ends at any `target` in `targets`.
|
||||||
pub fn assert_valid_path<G: GraphTopology>(
|
pub fn assert_valid_path<G: GraphTopology>(
|
||||||
graph: &G,
|
graph: &G,
|
||||||
path_option: Option<Vec<G::Edge>>,
|
path_option: Option<Vec<G::Edge>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user