Skip to content

Fix parameter documentation in PackageDependency.swift #7682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Sources/PackageDescription/PackageDependency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ extension Package.Dependency {
/// packages.
///
/// - Parameters:
/// - name: The name of the Swift package or `nil` to deduce the name from path.
/// - path: The local path to the package.
/// - name: The name of the Swift package.
/// - path: The file system path to the package.
///
/// - Returns: A package dependency.
@available(_PackageDescription, introduced: 5.2)
Expand All @@ -261,8 +261,8 @@ extension Package.Dependency {
/// packages.
///
/// - Parameters:
/// - name: The name of the Swift package or `nil` to deduce the name from path.
/// - path: The local path to the package.
/// - name: The name of the Swift package.
/// - path: The file system path to the package.
/// - traits: The trait configuration of this dependency. Defaults to enabling the default traits.
///
/// - Returns: A package dependency.
Expand Down