diff --git a/ctru-rs/src/error.rs b/ctru-rs/src/error.rs index 5b0caf1..e8cf7f0 100644 --- a/ctru-rs/src/error.rs +++ b/ctru-rs/src/error.rs @@ -7,7 +7,7 @@ use ctru_sys::result::{R_DESCRIPTION, R_LEVEL, R_MODULE, R_SUMMARY}; pub type Result = ::std::result::Result; -#[derive(Debug, Clone, PartialEq, PartialOrd)] +#[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord)] #[repr(transparent)] pub(crate) struct LibCtruResult(pub i32);