From 4214362ef0203ff82cd9d8aea5d77c59ec41b4d3 Mon Sep 17 00:00:00 2001 From: Brett Hoerner Date: Thu, 8 Feb 2024 08:23:50 -0700 Subject: [PATCH] Fix clippy complaint (#13) --- hook-common/src/kafka_messages/plugin_logs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook-common/src/kafka_messages/plugin_logs.rs b/hook-common/src/kafka_messages/plugin_logs.rs index fb83580..5a852e6 100644 --- a/hook-common/src/kafka_messages/plugin_logs.rs +++ b/hook-common/src/kafka_messages/plugin_logs.rs @@ -65,7 +65,7 @@ where serializer.serialize_str(type_str) } -fn serialize_message(msg: &String, serializer: S) -> Result +fn serialize_message(msg: &str, serializer: S) -> Result where S: Serializer, {