chore: implement default for cycles

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-03-20 19:55:02 -05:00
parent f365633c1e
commit 2401cf7190
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ pub enum JumpCondition {
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
struct Table; struct Table;
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Default)]
pub struct Cycles(u32); pub struct Cycles(u32);
impl Instruction { impl Instruction {