diff --git a/src/timer.rs b/src/timer.rs index 0b8ea98..84b7d8a 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -82,7 +82,7 @@ impl TimerState for Scaled{ pub struct TimerFixed{ state:T, - paused:P, + _paused:P, } pub enum Timer{ @@ -126,7 +126,7 @@ impl TimerFixed{ let new_time=self.time(time); let mut timer=TimerFixed{ state:self.state, - paused:Paused, + _paused:Paused, }; timer.set_time(time,new_time); Ok(timer) @@ -139,7 +139,7 @@ impl TimerFixed{ let new_time=self.time(time); let mut timer=TimerFixed{ state:self.state, - paused:Unpaused, + _paused:Unpaused, }; timer.set_time(time,new_time); Ok(timer)