Re: [PATCH v6 2/2] rust: alloc: kvec: add doc example for as_slice method
From: Hui Zhu
Date: Wed Jul 30 2025 - 22:53:29 EST
2025年7月30日 16:03, "Alice Ryhl" <aliceryhl@xxxxxxxxxx mailto:aliceryhl@xxxxxxxxxx?to=%22Alice%20Ryhl%22%20%3Caliceryhl%40google.com%3E > 写到:
>
> On Wed, Jul 30, 2025 at 11:35:22AM +0800, Hui Zhu wrote:
>
> >
> > From: Hui Zhu <zhuhui@xxxxxxxxxx>
> >
> > Add a practical usage example to the documentation of KVec::as_slice()
> > showing how to:
> > Create a new KVec.
> > Push elements into it.
> > Convert to a slice via as_slice().
> >
> > Co-developed-by: Geliang Tang <geliang@xxxxxxxxxx>
> > Signed-off-by: Geliang Tang <geliang@xxxxxxxxxx>
> > Signed-off-by: Hui Zhu <zhuhui@xxxxxxxxxx>
> >
> It looks like this did not change since v5 where I gave my
>
> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>
> tag. Please make sure to include the tag in future versions if you have
> not made any changes.
Oops!
Sorry for that. Fixed in the v7 version.
Best,
Hui
>
> Alice
>