Browse Source

Fmt and lints

pull/149/head
Andrea Ciliberti 1 year ago
parent
commit
84b95a9d4c
  1. 4
      ctru-rs/src/applets/swkbd.rs

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

@ -382,7 +382,7 @@ impl SoftwareKeyboard {
/// # let _runner = test_runner::GdbRunner::default(); /// # let _runner = test_runner::GdbRunner::default();
/// # fn main() { /// # fn main() {
/// # /// #
/// use ctru::applets::swkbd::{SoftwareKeyboard, CallbackInput}; /// use ctru::applets::swkbd::{SoftwareKeyboard, CallbackResult};
/// let mut keyboard = SoftwareKeyboard::default(); /// let mut keyboard = SoftwareKeyboard::default();
/// ///
/// keyboard.set_filter_callback(|text| { /// keyboard.set_filter_callback(|text| {
@ -678,7 +678,7 @@ impl ParentalLock {
/// # let apt = Apt::new().unwrap(); /// # let apt = Apt::new().unwrap();
/// use ctru::applets::swkbd::{ParentalLock, Error}; /// use ctru::applets::swkbd::{ParentalLock, Error};
/// ///
/// let parental_lock = ParentalLock::new(); /// let mut parental_lock = ParentalLock::new();
/// ///
/// match parental_lock.launch(&apt, &gfx) { /// match parental_lock.launch(&apt, &gfx) {
/// Ok(_) => println!("You can access parental-only features and settings."), /// Ok(_) => println!("You can access parental-only features and settings."),

Loading…
Cancel
Save