Re: [PATCH v7 06/10] rust: id_pool: take a NonZero capacity in with_capacity
Burak Emir <[email protected]>
| Newsgroups | org.kernel.vger.rust-for-linux,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CABwQupOTqnF8iSccT+imXKeOBbTxeUWHR--em3C3LAnwVBwWZw@mail.gmail.com> |
On Mon, Aug 17, 2026 at 9:04 AM Eliot Courtney <[email protected]> wrote: > > There is no good reason to allocate an IdPool with zero capacity. > Reflect this in IdPool::with_capacity. > > Signed-off-by: Eliot Courtney <[email protected]> Reviewed-by: Burak Emir <[email protected]>