Skip to content

Commit e7f6310

Browse files
committed
WIP: Remove uncheckedSocket for now
1 parent 051731d commit e7f6310

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/System/Sockets/SocketDescriptor.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@ extension SocketDescriptor {
4040
}
4141
}
4242

43-
extension FileDescriptor {
44-
/// Treat `self` as a socket descriptor, without checking with the operating
45-
/// system that it actually refers to a socket.
46-
@_alwaysEmitIntoClient
47-
public var uncheckedSocket: SocketDescriptor {
48-
SocketDescriptor(unchecked: self)
49-
}
50-
}
51-
5243
extension SocketDescriptor {
5344
/// Communications domain, identifying the protocol family that is being used.
5445
@frozen

0 commit comments

Comments
 (0)