From c2d5062272d164b1e7e9bf2d6ca908066c0bb2c2 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 8 Jan 2024 10:09:14 +0000 Subject: [PATCH] Remove needless explicit generic parameter Co-authored-by: Quentin Gliech --- rust/src/events/internal_metadata.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/src/events/internal_metadata.rs b/rust/src/events/internal_metadata.rs index 77bb8bd8320..331ebf4c8f6 100644 --- a/rust/src/events/internal_metadata.rs +++ b/rust/src/events/internal_metadata.rs @@ -98,7 +98,7 @@ impl EventInternalMetadataData { "send_on_behalf_of" => EventInternalMetadataData::SendOnBehalfOf( value - .extract::() + .extract() .map(String::into_boxed_str) .with_context(|| format!("'{key_str}' has invalid type"))?, ), @@ -124,7 +124,7 @@ impl EventInternalMetadataData { ), "txn_id" => EventInternalMetadataData::TxnId( value - .extract::() + .extract() .map(String::into_boxed_str) .with_context(|| format!("'{key_str}' has invalid type"))?, ), @@ -135,7 +135,7 @@ impl EventInternalMetadataData { ), "device_id" => EventInternalMetadataData::DeviceId( value - .extract::() + .extract() .map(String::into_boxed_str) .with_context(|| format!("'{key_str}' has invalid type"))?, ),