Re: [PATCH v4 2/4] rust: str: implement `strip_prefix` for `BStr`

From: Alice Ryhl
Date: Thu Jan 09 2025 - 07:07:07 EST


On Thu, Jan 9, 2025 at 11:56 AM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>
> Implement `strip_prefix` for `BStr` by deferring to `slice::strip_prefix`
> on the underlying `&[u8]`.
>
> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>