All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nick Dowsett" <nick42d@gmail.com>
To: "Miguel Ojeda" <miguel.ojeda.sandonis@gmail.com>,
	"Nick Dowsett" <nick42d@gmail.com>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
	"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Daniel Almeida" <daniel.almeida@collabora.com>,
	"Tamir Duberstein" <tamird@kernel.org>,
	"Alexandre Courbot" <acourbot@nvidia.com>,
	"Onur Özkan" <work@onurozkan.dev>,
	"Jean Delvare" <jdelvare@suse.com>,
	linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org
Subject: Re: [PATCH] rust: dmi: add basic DMI matching abstraction
Date: Mon, 23 Nov 2026 17:05:06 +0800	[thread overview]
Message-ID: <DN2GXVEC38QI.5BTEQWF3UY9C@gmail.com> (raw)
In-Reply-To: <CANiq72kRX4fECZGjEXKsSE=bwT0XsozE3+GPpvmOPZ117B1_zg@mail.gmail.com>

On Mon Nov 23, 2026 at 9:10 AM AWST, Miguel Ojeda wrote:
> On Mon, Nov 23, 2026 at 1:31 AM Nick Dowsett <nick42d@gmail.com> 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.)

Sounds reasonable to me, no problems. This amendment will be in v2.

Nick 



      reply	other threads:[~2026-11-23  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  4:28 [PATCH] rust: dmi: add basic DMI matching abstraction Nick Dowsett via B4 Relay
2026-11-22  4:28 ` Nick Dowsett
2026-11-22 10:37 ` Miguel Ojeda
2026-11-23  0:31   ` Nick Dowsett
2026-11-23  1:10     ` Miguel Ojeda
2026-11-23  9:05       ` Nick Dowsett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DN2GXVEC38QI.5BTEQWF3UY9C@gmail.com \
    --to=nick42d@gmail.com \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=jdelvare@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tamird@kernel.org \
    --cc=tmgross@umich.edu \
    --cc=work@onurozkan.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.