Skip to content

Commit 89568c5

Browse files
authored
Implement Clone and Debug for Dsu (#154)
1 parent cf82412 commit 89568c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dsu.rs

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
/// [&[0, 1][..], &[2, 3, 4][..]],
4545
/// );
4646
/// ```
47+
#[derive(Clone, Debug)]
4748
pub struct Dsu {
4849
n: usize,
4950
// root node: -1 * component size

0 commit comments

Comments
 (0)