rust/library/alloc
Matthias Krüger 4d08c33fc1
Rollup merge of #148662 - leftmostcat:document-isize-limit, r=joboet
alloc: Document panics when allocations will exceed max

Document panics in `String` and `Vec` due to capacity overflowing `isize::MAX`. Correct outdated claims of `usize::MAX` limit.

Fixes https://github.com/rust-lang/rust/issues/148598.

Ping `@lolbinarycat`
2025-12-05 16:17:05 +01:00
..
src Rollup merge of #148662 - leftmostcat:document-isize-limit, r=joboet 2025-12-05 16:17:05 +01:00
Cargo.toml Add panic=immediate-abort 2025-09-21 13:12:18 -04:00