Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Fix clippy complaint (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner authored Feb 8, 2024
1 parent c856730 commit 4214362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook-common/src/kafka_messages/plugin_logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ where
serializer.serialize_str(type_str)
}

fn serialize_message<S>(msg: &String, serializer: S) -> Result<S::Ok, S::Error>
fn serialize_message<S>(msg: &str, serializer: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
{
Expand Down

0 comments on commit 4214362

Please sign in to comment.