DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust count distinct elements in list
let cnt = items.iter().unique().count();
PREVIOUS
NEXT
Tagged:
#rust
#count
#distinct
#elements
#list
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit