Open
Description
Hashset section said:
If you insert a value that is already present in the HashSet, (i.e. the new value is equal to the existing and they both have the same hash), then the new value will replace the old.
Is it mistyped? The doc said If the set already contained this value, false is returned, and the set is not modified: original value is not replaced, and the value passed as argument is dropped.
Metadata
Metadata
Assignees
Labels
No labels