Skip to content

Commit a160e45

Browse files
authored
Add missing = (#2609)
1 parent 632e7fc commit a160e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0434-global-actor-isolated-types-usability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Note that under region isolation in SE-0414, capturing a non-`Sendable` value in
184184
class NonSendable {}
185185

186186
func test(ns: NonSendable) async {
187-
let closure { @MainActor in
187+
let closure = { @MainActor in
188188
print(ns) // error: task-isolated value 'ns' can't become isolated to the main actor
189189
}
190190

0 commit comments

Comments
 (0)