Skip to content

Commit 1281215

Browse files
author
Alexey Naumov
committed
Rename function builder attribute
1 parent c94bde4 commit 1281215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CountriesSwiftUI/Utilities/CancelBag.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class CancelBag {
1919
subscriptions.formUnion(cancellables())
2020
}
2121

22-
@_functionBuilder
22+
@resultBuilder
2323
struct Builder {
2424
static func buildBlock(_ cancellables: AnyCancellable...) -> [AnyCancellable] {
2525
return cancellables

0 commit comments

Comments
 (0)