Skip to content

Commit 17648ce

Browse files
SimplyDannyMaxDesiatov
authored andcommitted
Fix parameter documentation in PackageDependency.swift (#7682)
* Remove mention of `nil` name which is not allowed due to the parameters being non-optional. * Synchronize wording describing local package paths. (cherry picked from commit 83214f0) # Conflicts: # Sources/PackageDescription/PackageDependency.swift
1 parent ca32d51 commit 17648ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PackageDescription/PackageDependency.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ extension Package.Dependency {
178178
/// packages.
179179
///
180180
/// - Parameters:
181-
/// - name: The name of the Swift package or `nil` to deduce the name from path.
182-
/// - path: The local path to the package.
181+
/// - name: The name of the Swift package.
182+
/// - path: The file system path to the package.
183183
///
184184
/// - Returns: A package dependency.
185185
@available(_PackageDescription, introduced: 5.2)

0 commit comments

Comments
 (0)