From aa87555576bc30323f930ff2b24b23d487c00f6b Mon Sep 17 00:00:00 2001 From: Mohammad Dashti Date: Mon, 10 Nov 2025 12:48:24 -0800 Subject: [PATCH] Fixed lint issues. --- stacker/src/expull.rs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/stacker/src/expull.rs b/stacker/src/expull.rs index e67db2009..1979c7e97 100644 --- a/stacker/src/expull.rs +++ b/stacker/src/expull.rs @@ -151,13 +151,15 @@ impl ExpUnrolledLinkedList { // This should never happen with correct usage, so panic to catch bugs early assert!( self.remaining_cap as usize <= block_size, - "ExpUnrolledLinkedList metadata corruption detected: remaining_cap ({}) > block_size ({}). \ - This indicates a serious bug, possibly from: \ - 1. Copying ExpUnrolledLinkedList and using stale metadata \ - 2. Race condition in parallel processing \ - 3. Memory corruption. \ - block_num={}, head={:?}, tail={:?}", - self.remaining_cap, block_size, self.block_num, self.head, self.tail + "ExpUnrolledLinkedList metadata corruption detected: remaining_cap ({}) > block_size \ + ({}). This indicates a serious bug, possibly from: 1. Copying ExpUnrolledLinkedList \ + and using stale metadata 2. Race condition in parallel processing 3. Memory \ + corruption. block_num={}, head={:?}, tail={:?}", + self.remaining_cap, + block_size, + self.block_num, + self.head, + self.tail ); // Full Blocks (iterate through all blocks except the last one)