Skip to content

rust: alloc: fix and test `Vec::extend_with`

Hsiu Che Yu lkml rust-for-linux 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 8 repliesApplied
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- Split into two separate patches per maintainer feedback

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2rust: alloc: add doc test for `Vec::extend_with`rust/kernel/alloc/kvec.rs+18 -01 reply
2/2rust: alloc: fix `Vec::extend_with` SAFETY commentrust/kernel/alloc/kvec.rs+1 -15 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexandre Courbot
1/2R-b T-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] rust: alloc: fix and test `Vec::extend_with`

Fix an incorrect SAFETY comment and add a doc test for Vec::extend_with.

---
Changes in v2:
- Split into two separate patches per maintainer feedback

Hsiu Che Yu (2):
rust: alloc: add doc test for Vec::extend_with
rust: alloc: fix Vec::extend_with SAFETY comment

 rust/kernel/alloc/kvec.rs | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0