Skip to content

Commit 417802d

Browse files
committed
fix warnings
1 parent 14ef704 commit 417802d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/perf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn main() {
4747

4848
// Perform 100,000 intensive queries for profiling
4949
// Each query covers approximately 10% of the space
50-
for i in 0..100_000 {
50+
for _i in 0..100_000 {
5151
rng = rng.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407);
5252
let center_x = ((rng >> 32) as f64 / u32::MAX as f64) * 1000.0;
5353

examples/perf_build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() {
4242

4343
let overall_start = Instant::now();
4444

45-
for run in 1..=num_runs {
45+
for _run in 1..=num_runs {
4646
let build_start = Instant::now();
4747
let mut tree = AABB::with_capacity(1_000_000);
4848

examples/perf_build_xl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn main() {
6161

6262
let overall_start = Instant::now();
6363

64-
for run in 1..=NUM_RUNS {
64+
for _run in 1..=NUM_RUNS {
6565
let build_start = Instant::now();
6666
let mut tree = AABB::with_capacity(NUM_BOXES);
6767

0 commit comments

Comments
 (0)