Skip to content

Commit 3fe72da

Browse files
authored
Merge pull request #2492 from mattmassicotte/patch-7
Remove `message` references
2 parents 92ec247 + 909aaa6 commit 3fe72da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Specific use-cases of this API include `DispatchSerialQueue`, which would be abl
132132
// Dispatch
133133

134134
extension DispatchSerialQueue {
135-
public func checkIsolated(message: String) {
135+
public func checkIsolated() {
136136
dispatchPrecondition(condition: .onQueue(self)) // existing Dispatch API
137137
}
138138
}
@@ -191,7 +191,7 @@ The custom heurystics that are today part of the Swift Concurrency runtime to de
191191
```swift
192192
// concurrency runtime pseudo-code
193193
if expectedExecutor.isMainActor() {
194-
expectedExecutor.checkIsolated(message: message)
194+
expectedExecutor.checkIsolated()
195195
}
196196
```
197197

0 commit comments

Comments
 (0)