From ad53534c96f3fdf8a50f1f5a32592ef3a7c1635f Mon Sep 17 00:00:00 2001 From: aiongg Date: Tue, 24 Nov 2026 23:02:29 +0000 Subject: [PATCH] craft-ps test: places stays u32 in the sampled formatter sweep --- crates/ps/src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ps/src/write.rs b/crates/ps/src/write.rs index b14b3169c..09793a8eb 100644 --- a/crates/ps/src/write.rs +++ b/crates/ps/src/write.rs @@ -607,7 +607,7 @@ mod tests { let (mut integer_path, mut visited) = (0usize, 0usize); let samples = number_samples(); for places in 0..=12 { - for v in samples.iter().copied().skip(places % step).step_by(step) { + for v in samples.iter().copied().skip(places as usize % step).step_by(step) { visited += 1; let mut expected = String::from("x "); base_push_num_places(&mut expected, v, places);