On Tue, May 27, 2025 at 12:09:36PM -0400, Tamir Duberstein wrote:
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.
Signed-off-by: Tamir Duberstein tamird@gmail.com
Reviewed-by: Alice Ryhl aliceryhl@google.com