From 6a8c7daca6f4e324f0b6de9fee594f1d3da5c063 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 13 Oct 2026 00:06:03 +0200 Subject: [PATCH] Format the render distance fix Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/streaming.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/horizon-client/src/streaming.rs b/crates/horizon-client/src/streaming.rs index b3fce2013..e4a3063b3 100644 --- a/crates/horizon-client/src/streaming.rs +++ b/crates/horizon-client/src/streaming.rs @@ -833,9 +833,8 @@ mod tests { && (z - r.center.1).abs() <= radius + margin.max(reach + 1) }; let proto_kept = |x, z| r.in_range(x, z, 4) || r.near_finished(x, z, 2); - let decorated = |x, z| { - !decorates || r.in_range(x, z, 2) || r.near_finished(x, z, 1) - }; + let decorated = + |x, z| !decorates || r.in_range(x, z, 2) || r.near_finished(x, z, 1); let chunk_kept = |x, z| r.in_range(x, z, 2) || r.near_finished(x, z, 1); let unloaded = |x, z| !r.in_range(x, z, 3) && !r.near_finished(x, z, 1); let finishes = |x: i32, z: i32| {