jogru0 / disjoint

Fast and safe implementation of the disjoint-set data structure.
https://docs.rs/disjoint/latest/disjoint/index.html
Apache License 2.0
2 stars 2 forks source link

Update README.md: with_len(), not new() #11

Closed isaacg1 closed 2 months ago

isaacg1 commented 2 months ago

The DisjointSet::new() method doesn't take a parameter. The documentation uses DisjointSet::with_len() instead. I've updated the README to match.

jogru0 commented 2 months ago

Oh, I see, I renamed these functions with v0.3.0 to better match the std container interfaces, but forgot to update the README to reflect that.

Thanks for the catch!