From f09117e2232ca11b6cef27aaef6e062df3728ad0 Mon Sep 17 00:00:00 2001 From: coffmark Date: Wed, 27 Mar 2024 10:11:38 +0900 Subject: [PATCH] Fix indentation in Product.swift --- Sources/PackageDescription/Product.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/PackageDescription/Product.swift b/Sources/PackageDescription/Product.swift index d022eb91c50..4250817457a 100644 --- a/Sources/PackageDescription/Product.swift +++ b/Sources/PackageDescription/Product.swift @@ -69,7 +69,6 @@ public class Product { /// The executable product of a Swift package. public final class Executable: Product { - /// The names of the targets in this product. public let targets: [String] @@ -149,7 +148,7 @@ public class Product { /// - name: The name of the executable product. /// - targets: The targets to bundle into an executable product. /// - Returns: A `Product` instance. -public static func executable( + public static func executable( name: String, targets: [String] ) -> Product { @@ -167,7 +166,7 @@ public static func executable( /// - name: The name of the plugin product. /// - targets: The plugin targets to vend as a product. /// - Returns: A `Product` instance. -@available(_PackageDescription, introduced: 5.5) + @available(_PackageDescription, introduced: 5.5) public static func plugin( name: String, targets: [String]