Skip to content

Commit cd0b3f0

Browse files
committed
[docs] Remove line in Task docs that is an error in Swift 6 mode
1 parent 382a8e7 commit cd0b3f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ import Swift
101101
/// var result: Work?
102102
///
103103
/// deinit {
104-
/// assert(work != nil)
105104
/// // even though the task is still retained,
106105
/// // once it completes it no longer causes a reference cycle with the actor
107106
///

0 commit comments

Comments
 (0)