diff options
| author | Thom Chiovoloni <thom@shift.click> | 2023-07-28 18:09:12 -0700 |
|---|---|---|
| committer | Thom Chiovoloni <thom@shift.click> | 2023-07-28 18:09:12 -0700 |
| commit | 558f49d7aae7142864ee98fb26e593c12c1a3cd3 (patch) | |
| tree | d245fbaf4a4c078158ccfb2ad522c8594da6fc67 /library/std/src/os/unix | |
| parent | 04abc370b9f3855b28172b65a7f7d5a433f41412 (diff) | |
| download | rust-558f49d7aae7142864ee98fb26e593c12c1a3cd3.tar.gz rust-558f49d7aae7142864ee98fb26e593c12c1a3cd3.zip | |
inline trivial (noop) flush calls
Diffstat (limited to 'library/std/src/os/unix')
| -rw-r--r-- | library/std/src/os/unix/net/stream.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/os/unix/net/stream.rs b/library/std/src/os/unix/net/stream.rs index e20170873bb..41290e0017a 100644 --- a/library/std/src/os/unix/net/stream.rs +++ b/library/std/src/os/unix/net/stream.rs @@ -712,6 +712,7 @@ impl<'a> io::Write for &'a UnixStream { self.0.is_write_vectored() } + #[inline] fn flush(&mut self) -> io::Result<()> { Ok(()) } |
