Skip to content

Commit bd8089e

Browse files
committed
Changed important comments to doc comments
1 parent 9a13dce commit bd8089e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dsu.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Implement (union by size) + (path compression)
2-
// Reference:
3-
// Zvi Galil and Giuseppe F. Italiano,
4-
// Data structures and algorithms for disjoint set union problems
1+
/// Implement (union by size) + (path compression)
2+
/// Reference:
3+
/// Zvi Galil and Giuseppe F. Italiano,
4+
/// Data structures and algorithms for disjoint set union problems
55
pub struct Dsu {
66
n: usize,
77
// root node: -1 * component size

0 commit comments

Comments
 (0)