Skip to content

Commit

Permalink
[raf] remove clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
anp committed Oct 18, 2020
1 parent 4f4fb12 commit 0464513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/raf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl<T: Tick + Waking> AnimationFrameScheduler<T> {
pub fn run_on_wake(self) {
let state = Rc::clone(&self.0);
let waker = waker(Arc::new(self));
state.ticker.borrow_mut().set_waker(waker.clone());
state.ticker.borrow_mut().set_waker(waker);
state.ticker.borrow_mut().tick();
}
}
Expand Down

0 comments on commit 0464513

Please sign in to comment.