prust
prust copied to clipboard
remove PartialEq bound
This makes the api a bit more consistent to HashMap/HashSet. I renamed empty to new, and made it an associated function like in HashMap. Then, I removed the PartialEq bound from the struct, which is good practice. That makes it easier to include the HashMap in another struct without having to propagate the bounds up.