Files
linux/scripts
Tamir Duberstein 8b097b5ac6 scripts: rust: replace length checks with match
Use a match expression with slice patterns instead of length checks and
indexing. The result is more idiomatic, which is a better example for
future Rust code authors.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://lore.kernel.org/r/20250529-idiomatic-match-slice-v2-1-4925ca2f1550@gmail.com
[ Reworded title. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-07-21 00:03:01 +02:00
..
2024-10-07 02:12:27 +09:00
2025-06-06 05:40:25 +09:00
2022-10-03 14:03:19 -07:00
2023-12-03 18:51:48 +09:00
2024-11-28 08:11:56 +09:00
2025-05-11 17:54:10 -07:00
2025-02-12 12:12:28 +01:00
2021-05-03 17:23:06 -06:00