Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct slice capacity initialisation intent
len(unique) is always 0 as it's a map; intent is to initialise the slice with capacity that assumes there are no duplicates/empty elements. Avoid scanning/linting tools from continuing to suggest useless changes that have no effect. Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
- Loading branch information