rust/library/std/src/io/buffered
The 8472 3738785735 Extend io::copy buffer reuse to BufReader too
previously it was only able to use BufWriter. This was due to a limitation in the
BufReader generics that prevented specialization. This change works around the issue
by using `where Self: Read` instead of `where I: Read`. This limits our options, e.g.
we can't access BufRead methods, but it happens to work out if we rely on some
implementation details.
2023-06-17 11:07:04 +02:00
..
bufreader Avoid defensive re-initialization of the BufReader buffer 2022-10-06 23:31:57 -04:00
bufreader.rs Extend io::copy buffer reuse to BufReader too 2023-06-17 11:07:04 +02:00
bufwriter.rs Relax implicit W: Sized bound on BufWriter<W> 2023-05-01 23:56:23 +00:00
linewriter.rs Relax implicit W: Sized bound on LineWriter<W> 2023-05-01 23:56:23 +00:00
linewritershim.rs Relax implicit W: Sized bound on LineWriter<W> 2023-05-01 23:56:23 +00:00
mod.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
tests.rs rewrite: line_long_tail_not_flushed description 2023-04-26 02:11:13 -04:00