Skip to content

Commit 6bbed6b

Browse files
committed
update non-copyable type declaration syntax
1 parent 2d6c6a8 commit 6bbed6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/System/MachPort.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ internal func _machPrecondition(
2727
@available(/*System 1.3.0: macOS 9999, iOS 9999, watchOS 9999, tvOS 9999*/iOS 8, *)
2828
@frozen
2929
public enum Mach {
30-
@_moveOnly
31-
public struct Port<RightType: MachPortRight> {
30+
public struct Port<RightType: MachPortRight>: ~Copyable {
3231
@usableFromInline
3332
internal var _name: mach_port_name_t
3433

0 commit comments

Comments
 (0)