about summary refs log tree commit diff
path: root/library/std/src/os/unix
diff options
context:
space:
mode:
authorThom Chiovoloni <thom@shift.click>2023-07-28 18:09:12 -0700
committerThom Chiovoloni <thom@shift.click>2023-07-28 18:09:12 -0700
commit558f49d7aae7142864ee98fb26e593c12c1a3cd3 (patch)
treed245fbaf4a4c078158ccfb2ad522c8594da6fc67 /library/std/src/os/unix
parent04abc370b9f3855b28172b65a7f7d5a433f41412 (diff)
downloadrust-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.rs1
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(())
     }