Skip to content

Commit 2c5da55

Browse files
committed
[stdlib] fix availability of Span.bytes
1 parent eba3593 commit 2c5da55

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)