Find duplicates in a collection implemented as vector

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

surdeus

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