Re: [PATCH] rust: alloc: add doc test for `Vec::from_elem`

From: Hsiu Che Yu

Date: Mon Apr 27 2026 - 00:08:53 EST


On Sun, Apr 26, 2026 at 10:11:01PM +0900, Alexandre Courbot wrote:
I don't think there is any hard rule, but usually a patch series implies
a dependency between the patches, i.e. patch 2 cannot build without
patch 1. For what you sent so far this is not the case, so separate
patches is fine and maybe even preferable as they can be applied
individually whereas maintainers tend to consider series as "all or
nothing" (there are exceptions of course).

I think I now understand the distinction between a patch series and
individual patches. For independent changes, I'll just send them as
separate patches.

On Sun, Apr 26, 2026 at 10:11:01PM +0900, Alexandre Courbot wrote:
No worries. If I may recommend b4 [1] for managing your patch series, it
ususally just does the right thing for you.

[1] https://b4.docs.kernel.org/en/latest/

I've just started using b4, and it has been really helpful — it takes
care of a lot of things that previously required juggling multiple tools.

Thanks,
Hsiu