From 1a0bb25c6623ddb6094001dd866b9ef77c185049 Mon Sep 17 00:00:00 2001 From: DamienDeepgram <138720050+DamienDeepgram@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:06:10 -0700 Subject: [PATCH] Update src/common/options.rs Co-authored-by: Brent George <49082060+bd-g@users.noreply.github.com> --- src/common/options.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/options.rs b/src/common/options.rs index af8d0a90..6f4184d6 100644 --- a/src/common/options.rs +++ b/src/common/options.rs @@ -2132,8 +2132,7 @@ impl Serialize for SerializableOptions<'_> { } if let Some(extra) = extra { - #[allow(clippy::unused_enumerate_index)] - for (_i, (key, value)) in extra.iter().enumerate() { + for (key, value) in extra.iter() { seq.serialize_element(&("extra", format!("{}:{}", key, value)))?; } }