Skip to content

Commit

Permalink
Remove extensions
Browse files Browse the repository at this point in the history
They are available on `Brick` with this PR.
hyperoslo/Brick#29
  • Loading branch information
zenangst committed Dec 21, 2016
1 parent 6a6d1d8 commit b3ac415
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Sources/Shared/Extensions/Item+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,22 +114,3 @@ public extension Item {
return .none
}
}

public func == (lhs: [Item], rhs: [Item]) -> Bool {
var equal = lhs.count == rhs.count

if !equal { return false }

for (index, item) in lhs.enumerated() {
if item != rhs[index] {
equal = false
break
}
}

return equal
}

public func != (lhs: [Item], rhs: [Item]) -> Bool {
return !(lhs == rhs)
}

0 comments on commit b3ac415

Please sign in to comment.