From b92074d35afd183cbd18a2a8054bae4eafb9b8b3 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Wed, 3 Jan 2024 20:57:01 +0100 Subject: [PATCH] Fmt --- ctru-rs/src/applets/swkbd.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ctru-rs/src/applets/swkbd.rs b/ctru-rs/src/applets/swkbd.rs index 8f82307..cd0229e 100644 --- a/ctru-rs/src/applets/swkbd.rs +++ b/ctru-rs/src/applets/swkbd.rs @@ -386,11 +386,11 @@ impl SoftwareKeyboard<'_> { /// Configure a custom filtering function to validate the input. /// /// The callback function must return a [`CallbackResult`] and the error message to display when the input is invalid. - /// + /// /// # Notes - /// + /// /// Passing [`None`] will unbind the custom filter callback. - /// + /// /// The error message returned by the callback should be shorter than `256` characters, otherwise it will be truncated. /// /// # Example @@ -409,7 +409,7 @@ impl SoftwareKeyboard<'_> { /// Some(Cow::Owned(CString::new("Ah, you scared me!").unwrap())), /// ); /// } - /// + /// /// (CallbackResult::Ok, None) /// }))); /// #