Implement Default for ExitAction.
This commit is contained in:
parent
3f0f643a8a
commit
c47d0a1e6e
|
@ -9,3 +9,9 @@ pub enum ExitAction {
|
||||||
Continue,
|
Continue,
|
||||||
Stop,
|
Stop,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for ExitAction {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::Stop
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue