Renaming AppendUstr to AppendUniqStr

This commit is contained in:
Frederick F. Kautz IV
2015-03-01 17:06:00 -08:00
parent 81ede6c3fe
commit 32f8c17174
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ func AppendUniqInt(slice []int, i int) []int {
return append(slice, i)
}
func AppendUstr(slice []string, i string) []string {
func AppendUniqStr(slice []string, i string) []string {
for _, ele := range slice {
if ele == i {
return slice