Browse Source

Derive some traits

pull/74/head
TechiePi 2 years ago
parent
commit
06f27a35eb
  1. 2
      ctru-rs/src/error.rs

2
ctru-rs/src/error.rs

@ -7,7 +7,7 @@ use ctru_sys::result::{R_DESCRIPTION, R_LEVEL, R_MODULE, R_SUMMARY};
pub type Result<T> = ::std::result::Result<T, Error>; pub type Result<T> = ::std::result::Result<T, Error>;
#[derive(Debug, Clone, PartialEq, PartialOrd)] #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord)]
#[repr(transparent)] #[repr(transparent)]
pub(crate) struct LibCtruResult(pub i32); pub(crate) struct LibCtruResult(pub i32);

Loading…
Cancel
Save