Browse Source

Apply apt review suggestion

Co-authored-by: Meziu <55318903+Meziu@users.noreply.github.com>
pull/161/head
Lena 10 months ago committed by GitHub
parent
commit
80853b2238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ctru-rs/src/services/apt.rs

2
ctru-rs/src/services/apt.rs

@ -159,7 +159,7 @@ impl<'a> Chainloader<'a> {
/// Configures the chainloader to launch a specific application. /// Configures the chainloader to launch a specific application.
/// ///
/// See also [super::am::Title] /// See also [`Title`](crate::services::am::Title]
#[doc(alias = "aptSetChainloader")] #[doc(alias = "aptSetChainloader")]
pub fn set(&mut self, title: &super::am::Title<'_>) { pub fn set(&mut self, title: &super::am::Title<'_>) {
unsafe { ctru_sys::aptSetChainloader(title.id(), title.media_type() as u8) } unsafe { ctru_sys::aptSetChainloader(title.id(), title.media_type() as u8) }

Loading…
Cancel
Save