Skip to content

Commit

Permalink
Obey clippy even after accepting changes. Hiccup
Browse files Browse the repository at this point in the history
Signed-off-by: Darach Ennis <darach@gmail.com>
  • Loading branch information
darach committed Oct 16, 2024
1 parent 22be650 commit fad0d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tremor-codec/src/codec/avro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ where
{
let mut res = Vec::with_capacity(data.len());
for v in data {
let value = value_to_avro(&v, &schema.items, resolver).await?;
let value = value_to_avro(v, &schema.items, resolver).await?;
res.push(value);
}
Ok(AvroValue::Array(res))
Expand All @@ -173,7 +173,7 @@ where

res.insert(
k.to_string(),
value_to_avro(&v, &schema.types, resolver).await?,
value_to_avro(v, &schema.types, resolver).await?,
);
}
Ok(AvroValue::Map(res))
Expand Down

0 comments on commit fad0d25

Please sign in to comment.