From e7be3ae98e78a33922ff7523dbf506acb4192aa2 Mon Sep 17 00:00:00 2001 From: daniel eades Date: Fri, 4 Sep 2026 12:53:15 +0100 Subject: [PATCH] style(format): address formatting issues --- fenwick-model/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fenwick-model/src/lib.rs b/fenwick-model/src/lib.rs index 88d9fdf..49306f5 100644 --- a/fenwick-model/src/lib.rs +++ b/fenwick-model/src/lib.rs @@ -68,7 +68,8 @@ impl Weights { // Ensure the search range is valid (low < high) debug_assert!(low < high, "Invalid search range"); - // Verify that prefix_sum is within the valid range of cumulative weights + // Verify that prefix_sum is within the valid range of cumulative + // weights debug_assert!( prefix_sum < self.prefix_sum(Some(high - 1)), "'prefix_sum' is out of bounds"