bltavares / pickpocket

Pocket CLI management tools
9 stars 2 forks source link

Use a set for storing unique items #1

Closed bltavares closed 8 years ago

bltavares commented 8 years ago

Instead of using a Vec, change everything into Set's.

This PR also changes the signature of the functions from taking slices, into a more generic Trait based on Iterators. This make the API more ergonomic, as many other structures could be converted into Iterators, but not always into slices.

There are more info on each commit.