about summary refs log tree commit diff
path: root/library/std/src/sys/wasi/net.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/wasi/net.rs')
-rw-r--r--library/std/src/sys/wasi/net.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/wasi/net.rs b/library/std/src/sys/wasi/net.rs
index 30c21a05a32..06860673d90 100644
--- a/library/std/src/sys/wasi/net.rs
+++ b/library/std/src/sys/wasi/net.rs
@@ -347,14 +347,14 @@ pub struct LookupHost(!);
 
 impl LookupHost {
     pub fn port(&self) -> u16 {
-        match self.0 {}
+        self.0
     }
 }
 
 impl Iterator for LookupHost {
     type Item = SocketAddr;
     fn next(&mut self) -> Option<SocketAddr> {
-        match self.0 {}
+        self.0
     }
 }