about summary refs log tree commit diff
path: root/library/std/src/io/buffered
AgeCommit message (Expand)AuthorLines
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-5/+5
2022-01-09Compute most of Public/Exported access level in rustc_resolveLamb-4/+4
2021-11-02implement review suggestionsDrMeepster-1/+1
2021-11-02consolidate 2 unsafe blocks into 1DrMeepster-2/+2
2021-11-02read_bufDrMeepster-17/+94
2021-10-11Auto merge of #89755 - jkugelman:must-use-conversions-that-move-self, r=josht...bors-0/+1
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+1
2021-10-09Apply clippy suggestionsClemens Wasser-6/+5
2021-10-07Optimize File::read_to_end and read_to_stringJohn Kugelman-0/+67
2021-09-25Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514bors-5/+5
2021-09-25Apply 16 commits (squashed)Frank Steffahn-5/+5
2021-09-09Ignore automatically derived impls of `Clone` and `Debug` in dead code analysisFabian Wolff-4/+0
2021-08-24Stabilise BufWriter::into_partsIan Jackson-9/+7
2021-07-29Rename feature gate bufwriter_into_parts from bufwriter_into_raw_partsIan Jackson-9/+9
2021-07-29BufWriter: rename `into_parts` from `into_raw_parts`Ian Jackson-6/+6
2021-07-29BufWriter: actually export WriterPanicked errorIan Jackson-0/+2
2021-07-24Rollup merge of #87175 - inquisitivecrystal:inner-error, r=kennytmYuki Okushi-4/+2
2021-07-22Remove Option from BufWriterAlex Macleod-10/+14
2021-07-15Stabilize `into_parts()` and `into_error()`inquisitivecrystal-4/+2
2021-06-10Specialize `io::Bytes::size_hint` for more typesBenoƮt du Garreau-1/+7
2021-05-14Move `std::memchr` to `sys_common`Christiaan Dirkx-1/+1
2021-04-13BufWriter: improve safety commentTyson Nottingham-6/+10
2021-04-13BufWriter: simplify buffer drainingTyson Nottingham-5/+1
2021-04-13BufWriter: use #[cold] and less aggressive #[inline] hintsTyson Nottingham-1/+3
2021-04-13BufWriter: handle possibility of overflowTyson Nottingham-15/+39
2021-04-13BufWriter: optimize for write sizes less than buffer sizeTyson Nottingham-24/+32
2021-04-13BufWriter: avoid using expensive Vec methodsTyson Nottingham-12/+75
2021-04-13BufWriter: apply #[inline] / #[inline(never)] optimizationsTyson Nottingham-24/+66
2021-04-13Auto merge of #82992 - philippeitis:stabilize_bufreader_seek_relative, r=work...bors-1/+1
2021-03-27Use DebugStruct::finish_non_exhaustive() in std.Mara Bos-1/+1
2021-03-21Bump stable version of bufreader_seek_relative.Mara Bos-1/+1
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-2/+2
2021-03-10Stabilize `bufreader_seek_relative`philippeitis-1/+1
2021-03-05Rollup merge of #82728 - calebsander:refactor/bufreader-buf, r=m-ou-seMara-4/+3
2021-03-05Rollup merge of #81136 - Xavientois:io_reader_size_hint, r=cramertjMara-1/+9
2021-03-03Avoid unnecessary Vec construction in BufReaderCaleb Sander-4/+3
2021-01-31specialize io::copy to use the memory of the writer if it is a BufWriterThe8472-1/+13
2021-01-31Remove trailing newlineXavientois-2/+3
2021-01-31Implement SizeHint trait for BufReader, Emtpy, and ChainXavientois-1/+8
2021-01-24Stabilize `Seek::stream_position` & change feature of `Seek::stream_len`Lukas Kalbertodt-1/+0
2021-01-19Auto merge of #79705 - ijackson:bufwriter-disassemble, r=m-ou-sebors-0/+99
2021-01-17Add benchmark and fast path for BufReader::read_exactBen Kimock-0/+26
2021-01-04BufWriter::into_raw_parts: Add tracking issue numberIan Jackson-6/+6
2020-12-12fixup! WriterPanicked: Use debug_structIan Jackson-1/+1
2020-12-12WriterPanicked: Use debug_structIan Jackson-1/+3
2020-12-12bufwriter::WriterPanicked: Provide panicking exampleIan Jackson-0/+24
2020-12-09Auto merge of #78768 - mzabaluev:optimize-buf-writer, r=cramertjbors-14/+53
2020-12-04IntoInnerError: Provide into_errorIan Jackson-0/+21
2020-12-04IntoInnerError: Provide into_partsIan Jackson-0/+24
2020-12-04BufWriter: Provide into_raw_partsIan Jackson-0/+73