Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c99116a

Browse files
committed
remove unused function
1 parent 71d41d9 commit c99116a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libstd/sys/hermit/net.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ pub fn init() -> io::Result<()> {
2323
#[derive(Debug, Clone)]
2424
pub struct Socket(abi::Handle);
2525

26-
impl Socket {
27-
fn new(handle: abi::Handle) -> Socket {
28-
Socket(handle)
29-
}
30-
}
31-
3226
impl AsInner<abi::Handle> for Socket {
3327
fn as_inner(&self) -> &abi::Handle {
3428
&self.0

0 commit comments

Comments
 (0)