diff options
| author | Steven Fackler <sfackler@gmail.com> | 2020-03-11 18:02:52 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2020-04-26 04:24:16 -0700 |
| commit | 07443f17d4c2e8135d1cbf415f6bd22eee86b64a (patch) | |
| tree | 1fc883588b4098f527849ab69f4fa8fef23b55cb /src/libstd/sys/unix/ext/net.rs | |
| parent | 15262ec6be6fcfc9f27e174a0714d5a62e775fb0 (diff) | |
| download | rust-07443f17d4c2e8135d1cbf415f6bd22eee86b64a.tar.gz rust-07443f17d4c2e8135d1cbf415f6bd22eee86b64a.zip | |
Update name
Diffstat (limited to 'src/libstd/sys/unix/ext/net.rs')
| -rw-r--r-- | src/libstd/sys/unix/ext/net.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sys/unix/ext/net.rs b/src/libstd/sys/unix/ext/net.rs index 60ec73d9de2..ca1a2b5b3fb 100644 --- a/src/libstd/sys/unix/ext/net.rs +++ b/src/libstd/sys/unix/ext/net.rs @@ -656,8 +656,8 @@ impl io::Write for UnixStream { } #[inline] - fn can_write_vectored(&self) -> bool { - io::Write::can_write_vectored(&&*self) + fn is_write_vectored(&self) -> bool { + io::Write::is_write_vectored(&&*self) } fn flush(&mut self) -> io::Result<()> { @@ -676,7 +676,7 @@ impl<'a> io::Write for &'a UnixStream { } #[inline] - fn can_write_vectored(&self) -> bool { + fn is_write_vectored(&self) -> bool { self.0.can_write_vectored() } |
