Skip to content

Commit f41260e

Browse files
author
Guido Marucci Blas
committed
Removes hacks to make to compiler happy in Swift 1.2.
1 parent edfe850 commit f41260e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

ReactiveArray/Operation.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public enum Operation<T>: CustomDebugStringConvertible {
5353

5454
}
5555

56-
// TODO: Uses constrained protocol extension when moving to Swift 2.0
57-
// extension Operation: Equatable where T: Equatable {}
58-
5956
public func ==<T: Equatable>(lhs: Operation<T>, rhs: Operation<T>) -> Bool {
6057
switch (lhs, rhs) {
6158
case (.Append(let leftValue), .Append(let rightValue)):

ReactiveArray/ReactiveArray.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ public final class ReactiveArray<T>: CollectionType, MutableCollectionType, Cust
124124
return ReactiveArray<U>(producer: producer.map { $0.map(transformer) })
125125
}
126126

127-
// TODO: Remove this in Swift 2.0
128-
public func generate() -> IndexingGenerator<Array<T>> {
129-
return _elements.generate()
130-
}
131-
132127
public func toArray() -> Array<T> {
133128
return _elements
134129
}

0 commit comments

Comments
 (0)