about summary refs log tree commit diff
path: root/src/libstd/sys/hermit
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2020-03-11 18:02:52 -0700
committerSteven Fackler <sfackler@gmail.com>2020-04-26 04:24:16 -0700
commit07443f17d4c2e8135d1cbf415f6bd22eee86b64a (patch)
tree1fc883588b4098f527849ab69f4fa8fef23b55cb /src/libstd/sys/hermit
parent15262ec6be6fcfc9f27e174a0714d5a62e775fb0 (diff)
downloadrust-07443f17d4c2e8135d1cbf415f6bd22eee86b64a.tar.gz
rust-07443f17d4c2e8135d1cbf415f6bd22eee86b64a.zip
Update name
Diffstat (limited to 'src/libstd/sys/hermit')
-rw-r--r--src/libstd/sys/hermit/fs.rs4
-rw-r--r--src/libstd/sys/hermit/net.rs4
-rw-r--r--src/libstd/sys/hermit/pipe.rs4
-rw-r--r--src/libstd/sys/hermit/stdio.rs6
4 files changed, 9 insertions, 9 deletions
diff --git a/src/libstd/sys/hermit/fs.rs b/src/libstd/sys/hermit/fs.rs
index 8d9a359f94b..82ccab1462b 100644
--- a/src/libstd/sys/hermit/fs.rs
+++ b/src/libstd/sys/hermit/fs.rs
@@ -302,7 +302,7 @@ impl File {
     }
 
     #[inline]
-    pub fn can_read_vectored(&self) -> bool {
+    pub fn is_read_vectored(&self) -> bool {
         false
     }
 
@@ -315,7 +315,7 @@ impl File {
     }
 
     #[inline]
-    pub fn can_write_vectored(&self) -> bool {
+    pub fn is_write_vectored(&self) -> bool {
         false
     }
 
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
     }
 
diff --git a/src/libstd/sys/hermit/pipe.rs b/src/libstd/sys/hermit/pipe.rs
index eed8d1fdd56..10d0925823e 100644
--- a/src/libstd/sys/hermit/pipe.rs
+++ b/src/libstd/sys/hermit/pipe.rs
@@ -12,7 +12,7 @@ impl AnonPipe {
         match self.0 {}
     }
 
-    pub fn can_read_vectored(&self) -> bool {
+    pub fn is_read_vectored(&self) -> bool {
         match self.0 {}
     }
 
@@ -24,7 +24,7 @@ impl AnonPipe {
         match self.0 {}
     }
 
-    pub fn can_write_vectored(&self) -> bool {
+    pub fn is_write_vectored(&self) -> bool {
         match self.0 {}
     }
 
diff --git a/src/libstd/sys/hermit/stdio.rs b/src/libstd/sys/hermit/stdio.rs
index ba72775e145..208265de465 100644
--- a/src/libstd/sys/hermit/stdio.rs
+++ b/src/libstd/sys/hermit/stdio.rs
@@ -22,7 +22,7 @@ impl Stdin {
     }
 
     #[inline]
-    pub fn can_read_vectored(&self) -> bool {
+    pub fn is_read_vectored(&self) -> bool {
         true
     }
 }
@@ -57,7 +57,7 @@ impl Stdout {
     }
 
     #[inline]
-    pub fn can_write_vectored(&self) -> bool {
+    pub fn is_write_vectored(&self) -> bool {
         true
     }
 
@@ -96,7 +96,7 @@ impl Stderr {
     }
 
     #[inline]
-    pub fn can_write_vectored(&self) -> bool {
+    pub fn is_write_vectored(&self) -> bool {
         true
     }