Skip to content

Commit 4fc82f8

Browse files
committed
[stdlib] remove deprecations added by SE-0426
1 parent 66e3110 commit 4fc82f8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

stdlib/public/core/UnsafeRawPointer.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,6 @@ extension UnsafeRawPointer {
510510
/// with the value in the range of memory referenced by this pointer.
511511
@inlinable
512512
@_alwaysEmitIntoClient
513-
@available(swift, deprecated: 6, message:
514-
"Use the BitwiseCopyable-constrained overload"
515-
)
516513
public func loadUnaligned<T>(
517514
fromByteOffset offset: Int = 0,
518515
as type: T.Type
@@ -1344,9 +1341,6 @@ extension UnsafeMutableRawPointer {
13441341
/// with the value in the range of memory referenced by this pointer.
13451342
@inlinable
13461343
@_alwaysEmitIntoClient
1347-
@available(swift, deprecated: 6, message:
1348-
"Use the BitwiseCopyable-constrained overload"
1349-
)
13501344
public func loadUnaligned<T>(
13511345
fromByteOffset offset: Int = 0,
13521346
as type: T.Type
@@ -1450,9 +1444,6 @@ extension UnsafeMutableRawPointer {
14501444
@_alwaysEmitIntoClient
14511445
// This custom silgen name is chosen to not interfere with the old ABI
14521446
@_silgen_name("_swift_se0349_UnsafeMutableRawPointer_storeBytes")
1453-
@available(swift, deprecated: 6, message:
1454-
"Use the BitwiseCopyable-constrained overload"
1455-
)
14561447
public func storeBytes<T>(
14571448
of value: T, toByteOffset offset: Int = 0, as type: T.Type
14581449
) {

0 commit comments

Comments
 (0)