From 5ac620f5eb72449fa05a11cb8fe53a1cb65e6357 Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Tue, 17 Oct 2023 11:43:03 +0300 Subject: [PATCH] AVRO-3609: [Rust] Remove wrong collection of custom attributes (#2556) Signed-off-by: Martin Tzvetanov Grigorov --- lang/rust/avro/src/schema.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lang/rust/avro/src/schema.rs b/lang/rust/avro/src/schema.rs index bb914f4a357..0f49a53080d 100644 --- a/lang/rust/avro/src/schema.rs +++ b/lang/rust/avro/src/schema.rs @@ -751,7 +751,6 @@ impl RecordField { "type" | "name" | "doc" | "default" | "order" | "position" => continue, _ => custom_attributes.insert(key.clone(), value.clone()), }; - custom_attributes.insert(key.to_string(), value.clone()); } custom_attributes }