From 00f0b99fadc4d1f4f9f3770d1662fd58c3b57538 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 5 Apr 2024 08:23:43 -0700 Subject: [PATCH] chore: Silence clippy Signed-off-by: John Nunley --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a7955bb..7d91a59 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; }