Skip to content

Commit 0e1049b

Browse files
committed
Always assert
Signed-off-by: Moritz Hoffmann <[email protected]>
1 parent d6457c3 commit 0e1049b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

timely/examples/columnar.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ mod builder {
337337
fn relax(&mut self) {
338338
/// The caller is responsible for draining all contents; assert that we are empty.
339339
/// The assertion is not strictly necessary, but it helps catch bugs.
340-
debug_assert!(self.current.is_empty());
341-
debug_assert!(self.pending.is_empty());
340+
assert!(self.current.is_empty());
341+
assert!(self.pending.is_empty());
342342
*self = Self::default();
343343
}
344344
}

0 commit comments

Comments
 (0)