Skip to content

Commit 1da24ec

Browse files
Merge pull request #71009 from nate-chandler/bitwise-copyable-gating
[BitwiseCopyable] Remove gating from protocol declaration.
2 parents 94f3b22 + c49738e commit 1da24ec

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

stdlib/public/core/Misc.swift

-2
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,4 @@ func _rethrowsViaClosure(_ fn: () throws -> ()) rethrows {
182182
@_marker public protocol Escapable {}
183183
#endif
184184

185-
#if $BitwiseCopyable
186185
@_marker public protocol _BitwiseCopyable {}
187-
#endif

stdlib/public/core/Optional.swift

-2
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,4 @@ extension Optional: _ObjectiveCBridgeable {
783783

784784
extension Optional: Sendable where Wrapped: Sendable { }
785785

786-
#if $BitwiseCopyable
787786
extension Optional: _BitwiseCopyable where Wrapped: _BitwiseCopyable { }
788-
#endif

0 commit comments

Comments
 (0)