Skip to content

Commit ad9cd11

Browse files
authored
fix deprecation to introduction for publicHeadersDirectoryURL property (#8870)
Deprecation looks "incorrect" as it was added and deprecated at the same as the property `publicHeadersDirectory`, which I believe this was meant to replace. ### Motivation: While updating the documentation, this stood out as added and deprecated, which seemed like a mistake. ### Modifications: switched the deprecation to an introduction for the publicHeadersDirectoryURL property ### Result: property is undeprecated
1 parent 69f851d commit ad9cd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackagePlugin/PackageModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public struct ClangSourceModuleTarget: SourceModuleTarget {
366366

367367
/// The directory containing public C headers, if applicable. This will
368368
/// only be set for targets that have a directory of a public headers.
369-
@available(_PackageDescription, deprecated: 6.0)
369+
@available(_PackageDescription, introduced: 6.0)
370370
public let publicHeadersDirectoryURL: URL?
371371

372372
/// Any custom linked libraries required by the module, as specified in the

0 commit comments

Comments
 (0)