Re: [PATCH 19/19] rust: std_vendor: simplify `{ .. macro! .. }` with inner attributes

From: Miguel Ojeda
Date: Thu Sep 05 2024 - 05:28:22 EST


On Thu, Sep 5, 2024 at 10:19 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> Are we ok with changing std_vendor?

Yeah, to some degree, i.e. the code is already adapted slightly (it is
not intended to be a 1:1 copy). As long as we keep it more or less in
sync with upstream, it should be fine.

Even if we had to diverge, it should not be a big deal, but it would
be nice to be able to pick up improvements if any, e.g. there is `let
else` being used now upstream, which we could replicate (I will create
a "good first issue" for that).

(These allows/expects are not there in the original anyway, for that reason)

Cheers,
Miguel