it's one type
This commit is contained in:
parent
ccadc934ac
commit
7736a1f8a2
@ -169,7 +169,7 @@ impl std::fmt::Display for Error{
|
|||||||
}
|
}
|
||||||
impl std::error::Error for Error{}
|
impl std::error::Error for Error{}
|
||||||
|
|
||||||
//wrapper types which hold type state internally
|
//wrapper type which holds type state internally
|
||||||
pub enum Timer<T:TimerState>{
|
pub enum Timer<T:TimerState>{
|
||||||
Paused(TimerFixed<T,Paused>),
|
Paused(TimerFixed<T,Paused>),
|
||||||
Unpaused(TimerFixed<T,Unpaused>),
|
Unpaused(TimerFixed<T,Unpaused>),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user