From 228699aba6adf0a719cb0b330670c7568f7790fa Mon Sep 17 00:00:00 2001 From: Darach Ennis Date: Wed, 16 Oct 2024 16:21:27 +0200 Subject: [PATCH] Obey clippy even after accepting changes. Hiccup Signed-off-by: Darach Ennis --- tremor-codec/src/codec/avro.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tremor-codec/src/codec/avro.rs b/tremor-codec/src/codec/avro.rs index 8c5c7e6e68..cb64709a12 100644 --- a/tremor-codec/src/codec/avro.rs +++ b/tremor-codec/src/codec/avro.rs @@ -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)) @@ -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))