From 964a3d9e004e81001c16c29d4d99e44083cb0663 Mon Sep 17 00:00:00 2001 From: AzureMarker Date: Tue, 26 Dec 2023 12:18:43 -0500 Subject: [PATCH] Remove Console::with_screen --- ctru-rs/src/console.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ctru-rs/src/console.rs b/ctru-rs/src/console.rs index 322072e..78e8840 100644 --- a/ctru-rs/src/console.rs +++ b/ctru-rs/src/console.rs @@ -322,11 +322,6 @@ impl<'screen, S: Screen> Console<'screen, S> { _ => unreachable!(), } } - - /// Run a function with access to the underlying screen. - pub fn with_screen(&mut self, action: impl FnOnce(&mut RefMut<'_, S>)) { - action(&mut self.screen); - } } impl Swap for Console<'_, S> {