Skip to content

Commit

Permalink
fix: remove redundant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Dec 11, 2024
1 parent 26eac3e commit 5fe0cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/api/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ impl SessionInner {
),
ext_tstamp: None,
ext_nodeid: push::ext::NodeIdType::DEFAULT,
payload: match put.clone() {
payload: match put {
Some(put) => PushBody::Put(Put {
timestamp,
encoding: put.encoding.into(),
Expand Down

0 comments on commit 5fe0cc6

Please sign in to comment.