Re: [PATCH v7 05/10] rust: bitmap: add contiguous area operations
Miguel Ojeda <[email protected]>
| Newsgroups | dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <CANiq72=ot1SVQRxzX5NmyTspzf-eMKca7DQMdUMSHtThn+kfpg@mail.gmail.com> |
On Fri, Aug 21, 2026 at 10:11 AM Alexandre Courbot <[email protected]> wrote: > > Mutating methods should definitely keep that check, but for querying > this looks like a legitimate way to use the API. If there is a need to use the API in a certain way (and there is no other intended/"better" way to do something), then yeah. Otherwise, having `debug_assert!`s or similar are more than welcome. Cheers, Miguel