Skip to content

Commit c49738e

Browse files
committed
[BitwiseCopyable] Remove gating from protocol decl
It's harmless to have the protocol defined in the swiftinterface for older compilers and removing the gating permits the gating to be omitted from conformances
1 parent 63de79c commit c49738e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

stdlib/public/core/Misc.swift

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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)