diff options
| author | Sebastian Humenda <shumenda@gmx.de> | 2018-12-05 15:53:14 +0100 |
|---|---|---|
| committer | Benjamin Lamowski <benjamin.lamowski@kernkonzept.com> | 2022-03-09 11:53:27 +0100 |
| commit | 11b717647ef9a772a3a4b9e4dd6282db0b69ff32 (patch) | |
| tree | 61eefbe62f0e4b2c8a2d2bba530dce0d271c65ef | |
| parent | 7a74d28c389e750b0876e65859108adc842ab5bd (diff) | |
| download | rust-11b717647ef9a772a3a4b9e4dd6282db0b69ff32.tar.gz rust-11b717647ef9a772a3a4b9e4dd6282db0b69ff32.zip | |
fix return value of LookupHost::port()
[Benjamin Lamowski: Reworded commit message after split commit.]
| -rw-r--r-- | library/std/src/sys/unix/l4re.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/l4re.rs b/library/std/src/sys/unix/l4re.rs index cf101f934e1..2bc37fc56b2 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 } } |
