about summary refs log tree commit diff
path: root/library/std/src/io/readbuf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/io/readbuf.rs')
-rw-r--r--library/std/src/io/readbuf.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/io/readbuf.rs b/library/std/src/io/readbuf.rs
index 1f3f80b9618..034ddd8df9a 100644
--- a/library/std/src/io/readbuf.rs
+++ b/library/std/src/io/readbuf.rs
@@ -310,6 +310,7 @@ impl<'a> Write for BorrowedCursor<'a> {
         Ok(buf.len())
     }
 
+    #[inline]
     fn flush(&mut self) -> Result<()> {
         Ok(())
     }