We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd4fa9 commit 4ce8ef7Copy full SHA for 4ce8ef7
src/expressions/mod.rs
@@ -230,13 +230,13 @@ impl FilterExpression {
230
| ExpressionArgument::FilterExpression(_) => len += 1,
231
ExpressionArgument::Context(ctx) => {
232
if !ctx.is_empty() {
233
- pack_array_begin(buf, 3)?;
234
- pack_integer(buf, 0xff)?;
235
- pack_array_begin(buf, ctx.len() * 2)?;
+ size += pack_array_begin(buf, 3)?;
+ size += pack_integer(buf, 0xff)?;
+ size += pack_array_begin(buf, ctx.len() * 2)?;
236
237
for c in ctx {
238
- pack_integer(buf, i64::from(c.id))?;
239
- pack_value(buf, &c.value)?;
+ size += pack_integer(buf, i64::from(c.id))?;
+ size += pack_value(buf, &c.value)?;
240
}
241
242
0 commit comments