Skip to content

Commit 4ad5f37

Browse files
Update proposals/0424-custom-isolation-checking-for-serialexecutor.md
Co-authored-by: Ben Cohen <[email protected]>
1 parent 93f6da0 commit 4ad5f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0424-custom-isolation-checking-for-serialexecutor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The following example demonstrates such a situation:
2323
import Dispatch
2424

2525
actor Caplin {
26-
let queue = DispatchSerialQueue(label: "CoolQueue")
26+
let queue: DispatchSerialQueue = .init(label: "CoolQueue")
2727

2828
var num: Int // actor isolated state
2929

0 commit comments

Comments
 (0)