Skip to content

Commit e999ca5

Browse files
committed
Remove inline from write_to_buf
1 parent 2c23b90 commit e999ca5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libstd/io/buffered.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,6 @@ impl<W: Write> BufWriter<W> {
597597
/// Buffer some data without flushing it, regardless of the size of the
598598
/// data. Writes as much as possible without exceeding capacity. Returns
599599
/// the number of bytes written.
600-
#[inline]
601600
fn write_to_buf(&mut self, buf: &[u8]) -> usize {
602601
let available = self.buf.capacity() - self.buf.len();
603602
let amt_to_buffer = available.min(buf.len());

0 commit comments

Comments
 (0)