diff --git a/ctru-rs/Cargo.toml b/ctru-rs/Cargo.toml index 53d39d3..baf2c79 100644 --- a/ctru-rs/Cargo.toml +++ b/ctru-rs/Cargo.toml @@ -19,6 +19,7 @@ pthread-3ds = { git = "https://github.com/Meziu/pthread-3ds.git" } libc = "0.2.116" bitflags = "1.0.0" widestring = "0.2.2" +once_cell = "1.10.0" [build-dependencies] toml = "0.5" @@ -29,7 +30,6 @@ futures = "0.3" time = "0.3.7" tokio = { version = "1.16", features = ["rt", "time", "sync", "macros"] } cfg-if = "1.0.0" -once_cell = "1.10.0" [features] default = ["romfs"] diff --git a/ctru-rs/src/gfx.rs b/ctru-rs/src/gfx.rs index f68f2bc..a516fe5 100644 --- a/ctru-rs/src/gfx.rs +++ b/ctru-rs/src/gfx.rs @@ -5,7 +5,7 @@ use std::cell::RefCell; use std::marker::PhantomData; use std::sync::Mutex; -use crate::error::{Error, Result}; +use crate::error::Result; use crate::services::gspgpu::{self, FramebufferFormat}; use crate::services::ServiceReference;