From fcbbf0ef30c7bd93b7979accf2567da841874a23 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Wed, 3 Jan 2024 22:08:03 +0100 Subject: [PATCH] Fix tests --- ctru-rs/src/applets/swkbd.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctru-rs/src/applets/swkbd.rs b/ctru-rs/src/applets/swkbd.rs index cd0229e..2f2c558 100644 --- a/ctru-rs/src/applets/swkbd.rs +++ b/ctru-rs/src/applets/swkbd.rs @@ -399,7 +399,10 @@ impl SoftwareKeyboard<'_> { /// # let _runner = test_runner::GdbRunner::default(); /// # fn main() { /// # + /// use std::borrow::Cow; + /// use std::ffi::CString; /// use ctru::applets::swkbd::{SoftwareKeyboard, CallbackResult}; + /// /// let mut keyboard = SoftwareKeyboard::default(); /// /// keyboard.set_filter_callback(Some(Box::new(|str| {