News for hackers. Stuff that matters.
Re:Removing Array Duplicates by leshow on Friday April 12, 2019 @09:58AM (#19644820)
You don't even need the filter, all you need is:

    let dedup = strings.into_iter().map(|s| s.to_lowercase()).collect::<HashSet<_>>().into_iter().collect::<Vec<_>>();
Re:Removing Array Duplicates by DougBTX on Friday April 12, 2019 @10:32AM (#19645114)
Unfortunately that doesn't preserve case nor order of the input strings.