Skip to content

Commit 3344f1e

Browse files
committed
Fix typo recognized in Xcode6.3-beta2.
1 parent 3e73c24 commit 3344f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftTask/SwiftTask.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public class Task<Progress, Value, Error>: Printable
122122

123123
let _initClosure: _InitClosure = { _, progress, fulfill, _reject, configure in
124124
// NOTE: don't expose rejectHandler with ErrorInfo (isCancelled) for public init
125-
initClosure(progress: progress, fulfill: fulfill, reject: { (error: Error?) in _reject(ErrorInfo(error: error, isCancelled: false)) }, configure: configure)
125+
initClosure(progress: progress, fulfill: fulfill, reject: { (error: Error) in _reject(ErrorInfo(error: error, isCancelled: false)) }, configure: configure)
126126
}
127127

128128
self.setup(weakified, paused: paused, _initClosure: _initClosure)

0 commit comments

Comments
 (0)