From 9a60751a901f568bdeb154c4115235d4f3a0f8b9 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 20 Mar 2026 21:54:29 +0800 Subject: Apply clippy suggestions and improve code quality --- systems/sheet/src/compare.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systems/sheet/src/compare.rs') diff --git a/systems/sheet/src/compare.rs b/systems/sheet/src/compare.rs index b5b44b4..95b1aa3 100644 --- a/systems/sheet/src/compare.rs +++ b/systems/sheet/src/compare.rs @@ -7,7 +7,7 @@ use std::cmp::Ordering; /// 4. All other Unicode characters (in their natural order) /// /// The comparison is lexicographic: the first differing element determines the order. -pub fn compare_vec_string(a: &Vec, b: &Vec) -> std::cmp::Ordering { +pub fn compare_vec_string(a: &[String], b: &[String]) -> std::cmp::Ordering { use std::cmp::Ordering; for (left, right) in a.iter().zip(b.iter()) { -- cgit