Skip to content

Commit

Permalink
Allow path compression to be disabled but undo log
Browse files Browse the repository at this point in the history
  • Loading branch information
dewert99 committed Dec 21, 2024
1 parent 6dc6ca4 commit fb3861d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raw/unionfind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ mod tests {
let n = 10;
let id = Id::from;

let mut uf = UnionFind::default();
let mut uf: UnionFind = UnionFind::default();
for i in 0..n {
uf.make_set_with_id(i.into());
}
Expand Down

0 comments on commit fb3861d

Please sign in to comment.