time: fix unused mut.
This commit is contained in:
parent
9f7392474b
commit
df56f901de
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue