Re: [PATCH V6 2/2] checkpatch: check format of Vec<String> in modules
From: Guilherme Giacomo Simoes
Date: Thu Mar 06 2025 - 12:18:52 EST
Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote:
> So if I understand correctly, `rustfmt` will simply not do anything,
> i.e. it will always keep the array as it was -- that sounds good
> enough to me! Most people will write it correctly, and for those that
> don't, `checkpatch.pl` will likely catch the mistake -- that is all we
> need.
Ok, but, how is mentioned by Andreas Hindborg, this scenary is passing:
authors: [
"John Doe",
"Foo Bar"
],
Is good make a check for this too and senda a v7
Thanks,
Guilherme