From 7ae0adaba4448b9d9ae84ea7f2d48281dbd93b68 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 2 Feb 2026 20:58:22 -0700 Subject: [PATCH] fix: clippy for_kv_map lint in sharding integration test Co-Authored-By: Claude Opus 4.5 --- crates/stemedb-cluster/tests/sharding_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/stemedb-cluster/tests/sharding_test.rs b/crates/stemedb-cluster/tests/sharding_test.rs index 96ef9d4..8dd7cf4 100644 --- a/crates/stemedb-cluster/tests/sharding_test.rs +++ b/crates/stemedb-cluster/tests/sharding_test.rs @@ -65,7 +65,7 @@ fn test_subject_routing_distribution() { // Each of 8 shards should have roughly 1250 subjects (12.5%) // Allow 40% variance for small sample - for (_shard, count) in &shard_counts { + for count in shard_counts.values() { assert!(*count > 750, "Shard has too few subjects: {count} (expected ~1250)"); assert!(*count < 1750, "Shard has too many subjects: {count} (expected ~1250)"); }