diff --git a/ctru-rs/src/applets/mii_selector.rs b/ctru-rs/src/applets/mii_selector.rs index c90e8ad..3bbcedc 100644 --- a/ctru-rs/src/applets/mii_selector.rs +++ b/ctru-rs/src/applets/mii_selector.rs @@ -76,7 +76,9 @@ impl MiiSelector { Self { config } } - /// Set the title of the Mii Selector + /// Set the title of the Mii Selector. + /// + /// This function would panic if the given ``&str`` contains NUL bytes. pub fn set_title(&mut self, text: &str) { // This can only fail if the text contains NUL bytes in the string... which seems // unlikely and is documented