Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Jul 6, 2024
1 parent 02b98a4 commit f236c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sea-streamer-kafka/src/producer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl KafkaProducer {
K: rdkafka::message::ToBytes + ?Sized,
P: rdkafka::message::ToBytes + ?Sized,
{
let stream = StreamKey::new(record.topic.to_owned())?;
let stream = StreamKey::new(record.topic)?;

let fut = self
.get()
Expand Down

0 comments on commit f236c81

Please sign in to comment.