diff --git a/core/src/avm2/bytearray.rs b/core/src/avm2/bytearray.rs index 8f43963ec..3111dd627 100644 --- a/core/src/avm2/bytearray.rs +++ b/core/src/avm2/bytearray.rs @@ -9,7 +9,7 @@ use std::io::prelude::*; use std::io::{self, Read, SeekFrom}; use std::str::FromStr; -#[derive(Clone, Collect, Debug, Copy)] +#[derive(Clone, Collect, Debug, Copy, PartialEq, Eq)] #[collect(no_drop)] pub enum Endian { Big, @@ -47,7 +47,7 @@ impl FromStr for CompressionAlgorithm { } } -#[derive(Clone, Collect, Debug, Copy)] +#[derive(Clone, Collect, Debug, Copy, PartialEq, Eq)] #[collect(no_drop)] pub enum ObjectEncoding { Amf0,