rust/library/std/src/io
Matthias Krüger 71d3c7790f
Rollup merge of #130800 - bjoernager:const-mut-cursor, r=joshtriplett
Mark `get_mut` and `set_position` in `std::io::Cursor` as const.

Relevant tracking issue: #130801

The methods `get_mut` and `set_position` can trivially be marked as const due to #57349 being stabilised.
2024-11-20 20:10:12 +01:00
..
buffered Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
copy Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
cursor attempt to optimise vectored write 2022-06-26 17:15:31 +01:00
error Mark some more types as having insignificant dtor 2024-09-27 11:59:39 -04:00
impls std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
stdio Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
util Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
copy.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
cursor.rs Mark 'get_mut' and 'set_position' in 'std::io::Cursor' as const; 2024-09-24 23:01:58 +02:00
error.rs update io::Error::into_inner to acknowlage io::Error::other 2024-11-08 10:43:34 -06:00
impls.rs Specialize read_exact and read_buf_exact for VecDeque 2024-10-23 10:09:24 +02:00
mod.rs Add as_slice/into_slice for IoSlice/IoSliceMut. 2024-11-09 18:52:29 +00:00
prelude.rs Use heading for std::prelude and not io::prelude 2021-01-05 17:52:24 -08:00
stdio.rs More clearly document Stdin::read_line 2024-10-10 23:12:03 +07:00
tests.rs Add as_slice/into_slice for IoSlice/IoSliceMut. 2024-11-09 18:52:29 +00:00
util.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00