Skip to content

Commit 802cc54

Browse files
committed
[stdlib] remove more deprecations added by SE-0426
1 parent b4a169e commit 802cc54

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

stdlib/public/core/UnsafeBufferPointerSlice.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,6 @@ extension Slice where Base == UnsafeMutableRawBufferPointer {
389389
}
390390
@inlinable
391391
@_alwaysEmitIntoClient
392-
@available(swift, deprecated: 6, message:
393-
"Use the BitwiseCopyable-constrained overload"
394-
)
395392
public func loadUnaligned<T>(
396393
fromByteOffset offset: Int = 0,
397394
as type: T.Type
@@ -629,9 +626,6 @@ extension Slice where Base == UnsafeRawBufferPointer {
629626
}
630627
@inlinable
631628
@_alwaysEmitIntoClient
632-
@available(swift, deprecated: 6, message:
633-
"Use the BitwiseCopyable-constrained overload"
634-
)
635629
public func loadUnaligned<T>(
636630
fromByteOffset offset: Int = 0,
637631
as type: T.Type

stdlib/public/core/UnsafeRawBufferPointer.swift.gyb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,6 @@ extension Unsafe${Mutable}RawBufferPointer {
450450
}
451451

452452
@_alwaysEmitIntoClient
453-
@available(swift, deprecated: 6, message:
454-
"Use the BitwiseCopyable-constrained overload"
455-
)
456453
public func loadUnaligned<T>(
457454
fromByteOffset offset: Int = 0,
458455
as type: T.Type

0 commit comments

Comments
 (0)