Skip to content

Commit 93c0aa3

Browse files
Fix withTaskCancellation documentation (#2049)
Remove `.self` from enum type
1 parent fbfb245 commit 93c0aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Effects/Cancellation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ extension EffectPublisher {
153153
/// operation will be cancelled.
154154
///
155155
/// ```
156-
/// enum CancelID.self {}
156+
/// enum CancelID {}
157157
///
158158
/// await withTaskCancellation(id: CancelID.self) {
159159
/// // ...

0 commit comments

Comments
 (0)