Skip to content

Commit 0135623

Browse files
committed
[docs] fix typo in type name in code snippet
1 parent d8cba03 commit 0135623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ import Swift
123123
/// And using it like this:
124124
///
125125
/// ```
126-
/// await Actor().start()
126+
/// await Worker().start()
127127
/// ```
128128
///
129129
/// Note that the actor is only retained by the start() method's use of `self`,

0 commit comments

Comments
 (0)