Skip to content

Commit 9a13dce

Browse files
committed
Add comment about Dsu's size constraints
1 parent c4f058d commit 9a13dce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dsu.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pub struct Dsu {
1010
}
1111

1212
impl Dsu {
13+
// 0 <= size <= 10^8 is constrained.
1314
pub fn new(size: usize) -> Self {
1415
Self {
1516
n: size,

0 commit comments

Comments
 (0)