Skip to content

Commit 39cc73b

Browse files
authored
Merge pull request swiftlang#83438 from glessard/rdar157064330-also-available-now
[stdlib, 6.2] fix availability of `Span.bytes`
2 parents cd62ce0 + 2c5da55 commit 39cc73b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/core/Span/Span.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,8 @@ extension Span where Element: BitwiseCopyable {
506506
}
507507
}
508508

509-
@available(SwiftStdlib 6.2, *)
509+
@available(SwiftCompatibilitySpan 5.0, *)
510+
@_originallyDefinedIn(module: "Swift;CompatibilitySpan", SwiftCompatibilitySpan 6.2)
510511
extension Span where Element: BitwiseCopyable {
511512

512513
public var bytes: RawSpan {

0 commit comments

Comments
 (0)