about summary refs log tree commit diff
path: root/src/libstd/sys/sgx/net.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/sgx/net.rs')
-rw-r--r--src/libstd/sys/sgx/net.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sys/sgx/net.rs b/src/libstd/sys/sgx/net.rs
index 12a9a1289df..75a48e98e73 100644
--- a/src/libstd/sys/sgx/net.rs
+++ b/src/libstd/sys/sgx/net.rs
@@ -150,7 +150,7 @@ impl TcpStream {
     }
 
     #[inline]
-    pub fn can_read_vectored(&self) -> bool {
+    pub fn is_read_vectored(&self) -> bool {
         self.inner.inner.can_read_vectored()
     }
 
@@ -163,8 +163,8 @@ impl TcpStream {
     }
 
     #[inline]
-    pub fn can_write_vectored(&self) -> bool {
-        self.inner.inner.can_write_vectored()
+    pub fn is_write_vectored(&self) -> bool {
+        self.inner.inner.is_write_vectored()
     }
 
     pub fn peer_addr(&self) -> io::Result<SocketAddr> {