Re: [PATCH] rust: dmi: add basic DMI matching abstraction

From: Miguel Ojeda

Date: Sun Nov 22 2026 - 20:10:53 EST


On Mon, Nov 23, 2026 at 1:31 AM Nick Dowsett <nick42d@xxxxxxxxx> wrote:
>
> Just checking here - is this still applicable for doctests? I copied
> some of the example from another subsystem. There could be some
> conciseness benefits from not doing this here?

Yeah, it keeps the rule simple (everything does the same thing) and
also helps others get accustomed to the style when reading examples.
In any case, for the example above it is hidden, so it doesn't matter
much for the rendered form.

(And, ideally, one day, `rustfmt` will be able to apply our formatting
to the examples, so it would create a bigger diff if we don't follow
the vertical formatting anyway.)

Thanks!

Cheers,
Miguel