Skip to content

Commit ca770ed

Browse files
authored
Fix: silence codspeed warning (#5253)
it only triggered in codspeed Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
1 parent 8f218ae commit ca770ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vortex-array/src/array/operator.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ impl<V: VTable> ArrayOperator for ArrayAdapter<V> {
7373
"Batch execution returned vector of incorrect length"
7474
);
7575

76-
#[cfg(debug_assertions)]
77-
{
76+
if cfg!(debug_assertions) {
7877
// Checks for correct type and nullability.
7978
if !vector_matches_dtype(&vector, self.dtype()) {
8079
vortex_panic!(

0 commit comments

Comments
 (0)