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, {