Skip to content

Commit

Permalink
chore: Silence clippy
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <dev@notgull.net>
  • Loading branch information
notgull committed Apr 5, 2024
1 parent d319699 commit 00f0b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ impl Sleepers {
for item in &mut self.wakers {
if item.0 == id {
if !item.1.will_wake(waker) {
item.1 = waker.clone();
item.1.clone_from(waker);
}
return false;
}
Expand Down

0 comments on commit 00f0b99

Please sign in to comment.