Skip to content

Commit 4e24446

Browse files
authored
Fix comment wording in parameter description (#7401)
I fixed a grammatical error in PackageDescription. Specifically, I changed the part that says `to let to let` to `to let`.
1 parent b49a227 commit 4e24446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/PackageDescription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ let package = Package(
235235
/// - Parameters:
236236
/// - name: The name of the library product.
237237
/// - type: The optional type of the library that is used to determine how to link to the library.
238-
/// Leave this parameter unspecified to let to let the Swift Package Manager choose between static or dynamic linking (recommended).
238+
/// Leave this parameter unspecified to let the Swift Package Manager choose between static or dynamic linking (recommended).
239239
/// If you do not support both linkage types, use `.static` or `.dynamic` for this parameter.
240240
/// - targets: The targets that are bundled into a library product.
241241
static func library(name: String, type: Product.Library.LibraryType? = nil, targets: [String]) -> Product

0 commit comments

Comments
 (0)