mbox series

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

Message ID 20250529-idiomatic-match-slice-v2-0-4925ca2f1550@gmail.com
Headers show
Series rust: minor idiomatic fixes to doctest generator | expand

Message

Tamir Duberstein May 29, 2025, 1:14 p.m. UTC
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,