From 088ff85cff51fe0b88c31b4fd99aab7f6760eb05 Mon Sep 17 00:00:00 2001 From: TechiePi Date: Thu, 20 Oct 2022 17:40:48 +0200 Subject: [PATCH] use ``ctru_sys::Result`` instead of ``i32`` --- ctru-rs/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/error.rs b/ctru-rs/src/error.rs index 3a702a4..650ab7a 100644 --- a/ctru-rs/src/error.rs +++ b/ctru-rs/src/error.rs @@ -9,7 +9,7 @@ pub type Result = ::std::result::Result; #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord)] #[repr(transparent)] -pub(crate) struct ResultCode(pub i32); +pub(crate) struct ResultCode(pub ctru_sys::Result); impl Try for ResultCode { type Output = ();