From 2401cf71908aec6498294ee7d2752c8847cdc695 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 20 Mar 2021 19:55:02 -0500 Subject: [PATCH] chore: implement default for cycles --- src/instruction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instruction.rs b/src/instruction.rs index 6c395aa..a6ab66d 100644 --- a/src/instruction.rs +++ b/src/instruction.rs @@ -117,7 +117,7 @@ pub enum JumpCondition { #[derive(Debug, Copy, Clone)] struct Table; -#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] +#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Default)] pub struct Cycles(u32); impl Instruction {