time: fix unused mut.
This commit is contained in:
parent
9f7392474b
commit
df56f901de
@ -64,7 +64,7 @@ impl InnerQueue {
|
||||
self.queue
|
||||
.iter_mut()
|
||||
.find(|timer| timer.waker.will_wake(waker))
|
||||
.map(|mut timer| {
|
||||
.map(|timer| {
|
||||
timer.at = min(timer.at, at);
|
||||
})
|
||||
.unwrap_or_else(|| {
|
||||
|
Loading…
Reference in New Issue
Block a user