Skip to content

Commit 71aa3c0

Browse files
committed
fix: Correct n to refer to vertices, not edges in SccGraph::new
1 parent 89568c5 commit 71aa3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct SccGraph {
3636
}
3737

3838
impl SccGraph {
39-
/// Creates a new `SccGraph` with `n` edges.
39+
/// Creates a new `SccGraph` with `n` vertices and `0` edges.
4040
///
4141
/// # Constraints
4242
///

0 commit comments

Comments
 (0)