Skip to content

Commit 8765d78

Browse files
ktosorjmccall
andauthored
Apply suggestions from code review
Co-authored-by: John McCall <[email protected]>
1 parent 5546f4d commit 8765d78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/ABI/Executor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Job;
3030
class SerialExecutorWitnessTable;
3131
class TaskExecutorWitnessTable;
3232

33-
/// An unmanaged reference to an serial executor.
33+
/// An unmanaged reference to a serial executor.
3434
///
3535
/// This type corresponds to the type Optional<Builtin.Executor> in
3636
/// Swift. The representation of nil in Optional<Builtin.Executor>
@@ -246,10 +246,10 @@ class TaskExecutorRef {
246246
return getExecutorKind() == TaskExecutorKind::Ordinary;
247247
}
248248

249-
const SerialExecutorWitnessTable *getTaskExecutorWitnessTable() const {
249+
const TaskExecutorWitnessTable *getTaskExecutorWitnessTable() const {
250250
assert(!isUndefined());
251251
auto table = Implementation & WitnessTableMask;
252-
return reinterpret_cast<const SerialExecutorWitnessTable*>(table);
252+
return reinterpret_cast<const TaskExecutorWitnessTable*>(table);
253253
}
254254

255255
// /// Do we have to do any work to start running as the requested

0 commit comments

Comments
 (0)