io::read_fully now handles unbounded streams properly

This commit is contained in:
Christoffer Lerno
2026-01-05 22:27:55 +01:00
parent d820a2356a
commit 702f836b40
4 changed files with 55 additions and 11 deletions

View File

@@ -49,6 +49,7 @@
- `String.replace` no longer depends on `String.split`.
- Fix the case where `\u<unicode char>` could crash the compiler on some platforms.
- Designated initialization with ranges would not error on overflow by 1.
- `io::read_fully` now handles unbounded streams properly.
### Stdlib changes
- Add `ThreadPool` join function to wait for all threads to finish in the pool without destroying the threads.