Skip to content

Commit 4ca4763

Browse files
committed
reopen assert in parse_bulk_num
1 parent 75e1abf commit 4ca4763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/src/redis/packet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<'a, S: crate::Stream> RequestPacket<'a, S> {
115115
}
116116
self.ctx.bulk = self.data.num_of_bulks(&mut self.oft)? as u16;
117117
self.ctx.first = true;
118-
// assert_ne!(self.bulk(), 0, "packet:{}", self);
118+
assert_ne!(self.bulk(), 0, "packet:{}", self);
119119
}
120120
Ok(())
121121
}

0 commit comments

Comments
 (0)