Skip to content

Commit 6ca394f

Browse files
committed
chore: update docstring
1 parent 2a8227e commit 6ca394f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/graph/eulerian_path.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ impl EulerianPathSolver {
5555
}
5656
}
5757

58-
/// Computes the Eulerian path if it exists.
58+
/// Find the Eulerian path if it exists.
5959
///
6060
/// # Returns
6161
///
6262
/// An `Option<Vec<usize>>` containing the Eulerian path if found; otherwise, `None`.
63+
///
6364
/// If multiple Eulerian paths exist, the one found will be returned, but it may not be unique.
6465
fn find_path(&mut self) -> Option<Vec<usize>> {
6566
self.initialize_degrees();
@@ -94,7 +95,7 @@ impl EulerianPathSolver {
9495
}
9596
}
9697

97-
/// Checks if an Eulerian path is possible in the graph.
98+
/// Checks if an Eulerian path exists in the graph.
9899
///
99100
/// # Returns
100101
///

0 commit comments

Comments
 (0)