How does one concatenate or `union()` to HashSets in rust?


I found it. It is not `union()` but `extend()`.

@dragnucs Oh yes, it is a very useful function, because it is a Trait method that is implemented for all std collections like `Vec`, `String`, `HashMap` etc.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!