We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c23b90 commit e999ca5Copy full SHA for e999ca5
src/libstd/io/buffered.rs
@@ -597,7 +597,6 @@ impl<W: Write> BufWriter<W> {
597
/// Buffer some data without flushing it, regardless of the size of the
598
/// data. Writes as much as possible without exceeding capacity. Returns
599
/// the number of bytes written.
600
- #[inline]
601
fn write_to_buf(&mut self, buf: &[u8]) -> usize {
602
let available = self.buf.capacity() - self.buf.len();
603
let amt_to_buffer = available.min(buf.len());
0 commit comments