Files
rust/library/std/src
Thalia Archibald 523b9d9428 Implement default methods for io::Empty and io::Sink
Eliminate any redundant, unobservable logic from the their default
method implementations.

The observable changes are that `Write::write_fmt` for both types now
ignores the formatting arguments, so a user fmt impl which has side
effects is not invoked, and `Write::write_all_vectored` for both types
does not advance the borrowed buffers. Neither behavior is guaranteed by
the docs and the latter is documented as unspecified.

`Empty` is not marked as vectored, so that `Chain<Empty, _>` and
`Chain<_, Empty>` are not forced to be vectored.
2025-03-10 01:38:20 -07:00
..
2024-11-02 11:27:14 +01:00
2025-02-24 14:35:30 +00:00
2025-02-13 13:10:28 -08:00
2025-03-09 23:42:13 +01:00
2025-03-08 16:22:37 -08:00
2025-02-14 07:36:17 -08:00
2025-01-11 06:35:21 +02:00
2025-03-07 17:51:56 +00:00
2025-02-09 17:11:13 +00:00
2024-10-22 20:18:11 -04:00
2025-02-07 16:54:07 +01:00