From 11b717647ef9a772a3a4b9e4dd6282db0b69ff32 Mon Sep 17 00:00:00 2001 From: Sebastian Humenda Date: Wed, 5 Dec 2018 15:53:14 +0100 Subject: [PATCH] fix return value of LookupHost::port() [Benjamin Lamowski: Reworded commit message after split commit.] --- library/std/src/sys/unix/l4re.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/unix/l4re.rs b/library/std/src/sys/unix/l4re.rs index cf101f934e12..2bc37fc56b29 100644 --- a/library/std/src/sys/unix/l4re.rs +++ b/library/std/src/sys/unix/l4re.rs @@ -497,7 +497,7 @@ pub mod net { impl LookupHost { pub fn port(&self) -> u16 { - unimpl!(); + 0 // unimplemented } }