Add DedupeStrings to remove repeated values from a string slice #2

Merged
sneak merged 1 commits from clawbot/util:proposal-dedupe-strings into master 2026-09-05 05:46:19 +02:00

1 Commits

Author SHA1 Message Date
7fb688772e add DedupeStrings for removing repeated values from a string slice
DedupeStrings returns a new slice holding each value once, in the order each
value first appeared, and leaves the input slice alone. Comes with a doc
comment and table-driven tests. (closes #1)

Model: opus-5
2026-09-05 03:23:28 +00:00