Browse Source

Fix tests

pull/149/head
Andrea Ciliberti 12 months ago
parent
commit
fcbbf0ef30
  1. 3
      ctru-rs/src/applets/swkbd.rs

3
ctru-rs/src/applets/swkbd.rs

@ -399,7 +399,10 @@ impl SoftwareKeyboard<'_> {
/// # let _runner = test_runner::GdbRunner::default(); /// # let _runner = test_runner::GdbRunner::default();
/// # fn main() { /// # fn main() {
/// # /// #
/// use std::borrow::Cow;
/// use std::ffi::CString;
/// use ctru::applets::swkbd::{SoftwareKeyboard, CallbackResult}; /// use ctru::applets::swkbd::{SoftwareKeyboard, CallbackResult};
///
/// let mut keyboard = SoftwareKeyboard::default(); /// let mut keyboard = SoftwareKeyboard::default();
/// ///
/// keyboard.set_filter_callback(Some(Box::new(|str| { /// keyboard.set_filter_callback(Some(Box::new(|str| {

Loading…
Cancel
Save