Skip to content

Commit

Permalink
Removed uneccesary snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
DrabWeb committed May 4, 2016
1 parent aa6e276 commit 339ec5b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Booru-chan/Booru-chan/BCBooruSearchTokenField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ class BCBooruSearchTokenField: BCAlwaysActiveTokenField, NSTokenFieldDelegate {
return completions;
}

func uniq<T: Hashable>(lst: [T]) -> [T] {
var uniqueSet = [T : Void](minimumCapacity: lst.count)
for x in lst {
uniqueSet[x] = ()
}
return Array(uniqueSet.keys)
}

/// Called when the tag download finishes for autocompletion suggestions
func finishedDownloadingTags(tags : [String]) {
// Print what tags we downloaded
Expand Down

0 comments on commit 339ec5b

Please sign in to comment.