Skip to content

Commit 427ea5c

Browse files
zzylolclaude
andcommitted
fix: replace useless vec! macros with arrays in test_e2e_precompute
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 66c9d8e commit 427ea5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

asap-query-engine/src/bin/test_e2e_precompute.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
297297

298298
// Send a few raw samples — no need to advance watermark.
299299
println!("\n=== Sending raw-mode samples ===");
300-
let raw_timestamps = vec![100_000i64, 101_000, 102_000];
301-
let raw_values = vec![42.0f64, 43.0, 44.0];
300+
let raw_timestamps = [100_000i64, 101_000, 102_000];
301+
let raw_values = [42.0f64, 43.0, 44.0];
302302
for (&ts, &val) in raw_timestamps.iter().zip(raw_values.iter()) {
303303
let body = build_remote_write_body(vec![make_sample("fake_metric", "groupA", ts, val)]);
304304
let resp = client

0 commit comments

Comments
 (0)