File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
stdlib/public/SDK/Foundation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public protocol RecoverableError : Error {
109
109
/// "document" granularity, that do not affect the entire
110
110
/// application.
111
111
func attemptRecovery( optionIndex recoveryOptionIndex: Int ,
112
- resultHandler handler: ( _ recovered: Bool ) -> Void )
112
+ resultHandler handler: @escaping ( _ recovered: Bool ) -> Void )
113
113
114
114
/// Attempt to recover from this error when the user selected the
115
115
/// option at the given index. Returns true to indicate
@@ -127,7 +127,7 @@ public extension RecoverableError {
127
127
/// mechanism (``attemptRecovery(optionIndex:)``) to implement
128
128
/// document-modal recovery.
129
129
func attemptRecovery( optionIndex recoveryOptionIndex: Int ,
130
- resultHandler handler: ( _ recovered: Bool ) -> Void ) {
130
+ resultHandler handler: @escaping ( _ recovered: Bool ) -> Void ) {
131
131
handler ( attemptRecovery ( optionIndex: recoveryOptionIndex) )
132
132
}
133
133
}
You can’t perform that action at this time.
0 commit comments