aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/priority_channel.rs
diff options
context:
space:
mode:
authorOliver Rockstedt <[email protected]>2024-05-21 22:59:39 +0200
committerOliver Rockstedt <[email protected]>2024-05-21 22:59:39 +0200
commit73e523ab14b69494e324ba09fec88bc5eb0b3d2d (patch)
tree19215336468093cadd7fdc8074ab34e9552596fd /embassy-sync/src/priority_channel.rs
parent2da2e57b38e31059d752cc2e39ec3db96c8bb1d0 (diff)
embassy-sync: fixed some clippy warnings
Diffstat (limited to 'embassy-sync/src/priority_channel.rs')
-rw-r--r--embassy-sync/src/priority_channel.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-sync/src/priority_channel.rs b/embassy-sync/src/priority_channel.rs
index 4b9bd0515..8572d3608 100644
--- a/embassy-sync/src/priority_channel.rs
+++ b/embassy-sync/src/priority_channel.rs
@@ -33,7 +33,7 @@ where
33 M: RawMutex, 33 M: RawMutex,
34{ 34{
35 fn clone(&self) -> Self { 35 fn clone(&self) -> Self {
36 Sender { channel: self.channel } 36 *self
37 } 37 }
38} 38}
39 39
@@ -101,7 +101,7 @@ where
101 M: RawMutex, 101 M: RawMutex,
102{ 102{
103 fn clone(&self) -> Self { 103 fn clone(&self) -> Self {
104 Receiver { channel: self.channel } 104 *self
105 } 105 }
106} 106}
107 107