Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
daehn authored Oct 20, 2016
1 parent facae8e commit b9a3f07
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CountedSet/CountedSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public struct CountedSet<Element : Hashable> : ExpressibleByArrayLiteral {
return count(for: member)
}


public func mostFrequent() -> ElementWithCount? {
guard !backing.isEmpty else { return nil }
return reduce((backing[backing.startIndex], UInt(0))) { max, current in
Expand Down

0 comments on commit b9a3f07

Please sign in to comment.