chore: Silence clippy

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2024-04-05 08:23:43 -07:00 committed by John Nunley
parent d3196999f4
commit 00f0b99fad
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}