Skip to content

Commit

Permalink
fix: pkg/strings comment typo
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi committed Jun 27, 2022
1 parent 65dc29a commit 93553ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/strings/strings.go
Expand Up @@ -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{}
Expand Down

0 comments on commit 93553ad

Please sign in to comment.