Skip to content

Commit 4bdc1e4

Browse files
committed
Use typed throws rather than rethrows.
We should use typed throws, which will make this work better for Embedded Swift.
1 parent 75b1b89 commit 4bdc1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/nnnn-custom-main-and-global-executors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ struct ExecutorJob {
391391
/// - body: The closure to execute.
392392
///
393393
/// Returns the result of executing the closure.
394-
public func withUnsafeExecutorPrivateData<R>(body: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R
394+
public func withUnsafeExecutorPrivateData<R, E>(body: (UnsafeMutableRawBufferPointer) throws(E) -> R) throws(E) -> R
395395

396396
/// Kinds of schedulable jobs.
397397
@frozen

0 commit comments

Comments
 (0)