From 71aa3c0aa3b407115173166c7b32421a6b486ffa Mon Sep 17 00:00:00 2001 From: Ryoga-exe Date: Thu, 13 Mar 2025 22:11:31 +0900 Subject: [PATCH] fix: Correct `n` to refer to vertices, not edges in `SccGraph::new` --- src/scc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scc.rs b/src/scc.rs index 31a235e..69436a6 100644 --- a/src/scc.rs +++ b/src/scc.rs @@ -36,7 +36,7 @@ pub struct SccGraph { } impl SccGraph { - /// Creates a new `SccGraph` with `n` edges. + /// Creates a new `SccGraph` with `n` vertices and `0` edges. /// /// # Constraints ///