doc: clarify allocator invariant#153985
Conversation
|
r? @scottmcm rustbot has assigned @scottmcm. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
I was pondering where best to put this, and whether it should be more related to the "currently allocated" conversations, but in the end I think here is good. If you wanted to be hyper-specific about a "proof" for why a And I think this is "obviously" a requirement here, so as the trait is unstable I think I'm good to just 👍 it without involving an FCP from any team. They can look at it when contemplating stabilizing the trait. @bors r+ rollup |
doc: clarify allocator invariant Added base + size <= usize::MAX to the Allocator documentation. Please refer to issue [153542](rust-lang#153542). Close rust-lang#153542
Added base + size <= usize::MAX to the Allocator documentation.
Please refer to issue 153542.
Close #153542