Skip to content

Commit be750bd

Browse files
committed
Use syntactic sugar for optionals
1 parent 3b56563 commit be750bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactiveTask/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ extension Task: Hashable {
6767

6868
private func ==<Key: Equatable, Value: Equatable>(lhs: [Key: Value]?, rhs: [Key: Value]?) -> Bool {
6969
switch (lhs, rhs) {
70-
case let (.Some(lhs), .Some(rhs)):
70+
case let (lhs?, rhs?):
7171
return lhs == rhs
7272

7373
case (.None, .None):

0 commit comments

Comments
 (0)