[PATCH v2 0/2] rust: minor idiomatic fixes to doctest generator

Tamir Duberstein posted 2 patches 6 months, 2 weeks ago
scripts/rustdoc_test_gen.rs | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
[PATCH v2 0/2] rust: minor idiomatic fixes to doctest generator
Posted by Tamir Duberstein 6 months, 2 weeks ago
Please see individual commit messages.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
---
Changes in v2:
- rustfmt.
- Alice's RB.
- Add second patch to emit information in panic rather than separately
  to stderr.
- Link to v1: https://lore.kernel.org/r/20250527-idiomatic-match-slice-v1-1-34b0b1d1d58c@gmail.com

---
Tamir Duberstein (2):
      rust: replace length checks with match
      rust: emit path candidates in panic message

 scripts/rustdoc_test_gen.rs | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)
---
base-commit: 1ce98bb2bb30713ec4374ef11ead0d7d3e856766
change-id: 20250527-idiomatic-match-slice-26a79d100e4d

Best regards,
-- 
Tamir Duberstein <tamird@gmail.com>
Re: [PATCH v2 0/2] rust: minor idiomatic fixes to doctest generator
Posted by Miguel Ojeda 4 months, 4 weeks ago
On Thu, May 29, 2025 at 3:15 PM Tamir Duberstein <tamird@gmail.com> wrote:
>
> Please see individual commit messages.
>
> Signed-off-by: Tamir Duberstein <tamird@gmail.com>

Applied to `rust-next` -- thanks everyone!

    [ Reworded title. - Miguel ]

    [ Kept newlines using `writeln!`. Used new message from Tamir. Reworded
      title. - Miguel ]

Cheers,
Miguel