fix: pkg/strings comment typo

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2022-06-27 20:23:59 +08:00
parent ec2a72d872
commit 5831b62383
No known key found for this signature in database
GPG Key ID: 8B4E5D1290FA2FFB
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func Contains(slice []string, ele string) bool {
return false
}
// Remove the duplicate elements in the string slice
// Remove the duplicate elements in the string slice.
func Unique(slice []string) []string {
keys := make(map[string]bool)
result := []string{}