Correct undisciplined rebase. (Closes #8583.)

This commit is contained in:
benshu 2015-11-18 21:10:20 +01:00
parent 2be0cb7827
commit 54e41fb22d

View file

@ -194,8 +194,6 @@ impl ActiveTimers {
duration: MsDuration, duration: MsDuration,
is_interval: IsInterval, is_interval: IsInterval,
source: TimerSource) -> TimerHandle { source: TimerSource) -> TimerHandle {
assert!(self.suspended_since.get().is_none());
// step 3 // step 3
let TimerHandle(new_handle) = self.next_timer_handle.get(); let TimerHandle(new_handle) = self.next_timer_handle.get();
self.next_timer_handle.set(TimerHandle(new_handle + 1)); self.next_timer_handle.set(TimerHandle(new_handle + 1));