about summary refs log tree commit diff
path: root/src/libstd/sys/hermit/net.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/hermit/net.rs')
-rw-r--r--src/libstd/sys/hermit/net.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/hermit/net.rs b/src/libstd/sys/hermit/net.rs
index a8a82dba62e..5b5379c8b05 100644
--- a/src/libstd/sys/hermit/net.rs
+++ b/src/libstd/sys/hermit/net.rs
@@ -100,7 +100,7 @@ impl TcpStream {
     }
 
     #[inline]
-    pub fn can_read_vectored(&self) -> bool {
+    pub fn is_read_vectored(&self) -> bool {
         true
     }
 
@@ -120,7 +120,7 @@ impl TcpStream {
     }
 
     #[inline]
-    pub fn can_write_vectored(&self) -> bool {
+    pub fn is_write_vectored(&self) -> bool {
         true
     }