unnecessary
This commit is contained in:
parent
3fd6a16124
commit
8a1d50c027
@ -26,15 +26,13 @@ enum RunState{
|
|||||||
|
|
||||||
pub struct Run{
|
pub struct Run{
|
||||||
invalidated:Option<InvalidationReason>,
|
invalidated:Option<InvalidationReason>,
|
||||||
created:Time,
|
|
||||||
state:RunState,
|
state:RunState,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Run{
|
impl Run{
|
||||||
pub fn new(created:Time)->Self{
|
pub fn new()->Self{
|
||||||
Self{
|
Self{
|
||||||
invalidated:None,
|
invalidated:None,
|
||||||
created,
|
|
||||||
state:RunState::Created,
|
state:RunState::Created,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user