Closed senekor closed 11 months ago
Is a set with duplicate elements a valid set? I think part of what may be adding to confusion here is that an array notation is being used to hold the contents of a set.
Also, I am not sure this is a test that tests for deduplication as exercism/rust#1741 seemed concerned about and this was identified as the solve covering it.
We should have a test case where a set is instantiated with a slice containing duplicate values.
motivated by: https://github.com/exercism/rust/issues/1275