Skip to content

Commit ea1f3bf

Browse files
committed
Make setupTask Task<Void, Never>.
#526 (comment)
1 parent c38ee59 commit ea1f3bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/Samples/List contents of KML file/ListContentsOfKMLFileView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private extension ListContentsOfKMLFileView {
8181
}()
8282

8383
/// The task used for the asynchronous setup operations.
84-
private var setupTask: Task<Void, Error>?
84+
private var setupTask: Task<Void, Never>?
8585

8686
init() {
8787
setupTask = Task { [weak self] in

0 commit comments

Comments
 (0)