Find duplicates in a collection implemented as vector

⚓ Rust    📅 2026-02-17    👤 surdeus    👁️ 9      

surdeus

Warning

This post was published 47 days ago. The information described in this article may have changed.

Yet another question: I have a vector of elements some of which may be equal to others. How to reduce this to a vector of unique elements? Alternatively, how to remove the duplicates?

6 posts - 4 participants

Read full topic

🏷️ Rust_feed