Skip to content

Commit 4bad27a

Browse files
committed
Fix stragglers
1 parent 07443f1 commit 4bad27a

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/libstd/sys/cloudabi/shims/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impl File {
202202
match self.0 {}
203203
}
204204

205-
pub fn can_read_vectored(&self) -> bool {
205+
pub fn is_read_vectored(&self) -> bool {
206206
match self.0 {}
207207
}
208208

src/libstd/sys/cloudabi/shims/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl TcpStream {
4747
match self.0 {}
4848
}
4949

50-
pub fn can_read_vectored(&self) -> bool {
50+
pub fn is_read_vectored(&self) -> bool {
5151
match self.0 {}
5252
}
5353

src/libstd/sys/cloudabi/shims/pipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ impl AnonPipe {
1212
match self.0 {}
1313
}
1414

15-
pub fn can_read_vectored(&self) -> bool {
15+
pub fn is_read_vectored(&self) -> bool {
1616
match self.0 {}
1717
}
1818

src/libstd/sys/sgx/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl TcpStream {
151151

152152
#[inline]
153153
pub fn is_read_vectored(&self) -> bool {
154-
self.inner.inner.can_read_vectored()
154+
self.inner.inner.is_read_vectored()
155155
}
156156

157157
pub fn write(&self, buf: &[u8]) -> io::Result<usize> {

src/libstd/sys/unix/ext/net.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,8 @@ impl io::Read for UnixStream {
614614
}
615615

616616
#[inline]
617-
fn can_read_vectored(&self) -> bool {
618-
io::Read::can_read_vectored(&&*self)
617+
fn is_read_vectored(&self) -> bool {
618+
io::Read::is_read_vectored(&&*self)
619619
}
620620

621621
#[inline]
@@ -635,8 +635,8 @@ impl<'a> io::Read for &'a UnixStream {
635635
}
636636

637637
#[inline]
638-
fn can_read_vectored(&self) -> bool {
639-
self.0.can_read_vectored()
638+
fn is_read_vectored(&self) -> bool {
639+
self.0.is_read_vectored()
640640
}
641641

642642
#[inline]
@@ -677,7 +677,7 @@ impl<'a> io::Write for &'a UnixStream {
677677

678678
#[inline]
679679
fn is_write_vectored(&self) -> bool {
680-
self.0.can_write_vectored()
680+
self.0.is_write_vectored()
681681
}
682682

683683
fn flush(&mut self) -> io::Result<()> {

0 commit comments

Comments
 (0)