Files
rust/library/std/src
Stuart Cook 66388d9892 Rollup merge of #141211 - fluiderson:dev, r=thomcc
Replace `try_reserve_exact` with `try_with_capacity` in `std::fs::read`

This change restores the previous behavior prior to #117925. That PR was made to handle OOM errors that turn into a panic with `Vec::with_capacity`. `try_reserve_exact` was used for that since there was no `try_with_capacity` method at the time. It was added later in #120504. I think it'd a better fit here.
2025-05-20 12:53:13 +10:00
..
2025-05-12 15:33:30 +02:00
2025-05-12 15:33:30 +02:00
…
…
2025-05-12 15:33:37 +02:00
2025-05-12 15:33:37 +02:00
…
…
…
…
…
…
2025-04-28 11:13:50 +02:00
…
2025-05-15 11:20:13 +02:00
…