diff --git a/ctru-rs/src/console.rs b/ctru-rs/src/console.rs index ef71f78..33c61c1 100644 --- a/ctru-rs/src/console.rs +++ b/ctru-rs/src/console.rs @@ -1,6 +1,5 @@ use std::cell::Ref; use std::default::Default; -use std::marker::PhantomData; use ctru_sys::{consoleClear, consoleInit, consoleSelect, consoleSetWindow, PrintConsole}; diff --git a/ctru-rs/src/gfx.rs b/ctru-rs/src/gfx.rs index 842eb0d..aec2572 100644 --- a/ctru-rs/src/gfx.rs +++ b/ctru-rs/src/gfx.rs @@ -71,7 +71,7 @@ pub enum Side { pub struct Gfx { pub top_screen: RefCell, pub bottom_screen: RefCell, - _private: () + _private: (), } impl Gfx { @@ -90,6 +90,7 @@ impl Gfx { Gfx { top_screen: RefCell::new(TopScreen { _private: () }), bottom_screen: RefCell::new(BottomScreen { _private: () }), + _private: (), } } @@ -170,6 +171,7 @@ impl Default for Gfx { Gfx { top_screen: RefCell::new(TopScreen { _private: () }), bottom_screen: RefCell::new(BottomScreen { _private: () }), + _private: (), } } }