about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSebastian Humenda <shumenda@gmx.de>2020-06-18 18:46:43 +0200
committerBenjamin Lamowski <benjamin.lamowski@kernkonzept.com>2022-03-09 11:53:27 +0100
commit7a74d28c389e750b0876e65859108adc842ab5bd (patch)
treebfba244df2ad4758171e5381319a5757585da625
parent6045c34f15d463c7d51104b968c1eabc5275b9c1 (diff)
downloadrust-7a74d28c389e750b0876e65859108adc842ab5bd.tar.gz
rust-7a74d28c389e750b0876e65859108adc842ab5bd.zip
fix return values in L4Re networking stub
[Benjamin Lamowski: Reworded commit message after split commit.]
-rw-r--r--library/std/src/sys/unix/l4re.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/sys/unix/l4re.rs b/library/std/src/sys/unix/l4re.rs
index d13e1ecbbfe..cf101f934e1 100644
--- a/library/std/src/sys/unix/l4re.rs
+++ b/library/std/src/sys/unix/l4re.rs
@@ -59,7 +59,7 @@ pub mod net {
         }
 
         pub fn is_read_vectored(&self) -> bool {
-            unimpl!();
+            false
         }
 
         pub fn peek(&self, _: &mut [u8]) -> io::Result<usize> {
@@ -83,7 +83,7 @@ pub mod net {
         }
 
         pub fn is_write_vectored(&self) -> bool {
-            unimpl!();
+            false
         }
 
         pub fn set_timeout(&self, _: Option<Duration>, _: libc::c_int) -> io::Result<()> {
@@ -191,7 +191,7 @@ pub mod net {
         }
 
         pub fn is_read_vectored(&self) -> bool {
-            unimpl!();
+            false
         }
 
         pub fn write(&self, _: &[u8]) -> io::Result<usize> {
@@ -203,7 +203,7 @@ pub mod net {
         }
 
         pub fn is_write_vectored(&self) -> bool {
-            unimpl!();
+            false
         }
 
         pub fn peer_addr(&self) -> io::Result<SocketAddr> {