Skip to content

Commit

Permalink
Merge pull request #46 from quentinfasquel/feature/remove-functionBui…
Browse files Browse the repository at this point in the history
…lder-warnings

Update swift keyword @_functionBuilder to @resultBuilder (swift 5.4)
  • Loading branch information
NicholasBellucci authored Apr 12, 2022
2 parents 06745c6 + 77d85b6 commit dd8368f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@_functionBuilder
@resultBuilder
public struct ObjectBuilder {
public static func buildBlock(_ children: ObjectWeavable...) -> String {
var descriptions: [String] = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@_functionBuilder
@resultBuilder
public struct OperationBuilder {
public static func buildBlock(_ children: Weavable...) -> String {
var weavables: [Weavable] = []
Expand Down

0 comments on commit dd8368f

Please sign in to comment.