From 486a8cd5aaf8e99523b3760a96b53c923021c4fa Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Mon, 16 Jan 2023 16:54:56 +0100 Subject: [PATCH] cargo fmt --- ctru-rs/src/services/mod.rs | 4 ++-- ctru-rs/src/services/ndsp/mod.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ctru-rs/src/services/mod.rs b/ctru-rs/src/services/mod.rs index e6a4409..b0cc8ef 100644 --- a/ctru-rs/src/services/mod.rs +++ b/ctru-rs/src/services/mod.rs @@ -1,8 +1,8 @@ //! System services used to handle system-specific functionalities. -//! +//! //! Most of the 3DS console's functionalities (when writing homebrew) are locked behind services, //! which need to be initialized before accessing any particular feature. -//! +//! //! Some include: button input, audio playback, graphics rendering, built-in cameras, etc. pub mod apt; diff --git a/ctru-rs/src/services/ndsp/mod.rs b/ctru-rs/src/services/ndsp/mod.rs index 714256d..c9dec99 100644 --- a/ctru-rs/src/services/ndsp/mod.rs +++ b/ctru-rs/src/services/ndsp/mod.rs @@ -53,7 +53,7 @@ pub struct Channel<'ndsp> { static NDSP_ACTIVE: Mutex = Mutex::new(0); /// Handler of the DSP service and DSP processor. -/// +/// /// This is the main struct to handle audio playback using the 3DS' speakers and headphone jack. /// Only one "instance" of this struct can exist at a time. pub struct Ndsp { @@ -63,9 +63,9 @@ pub struct Ndsp { impl Ndsp { /// Initialize the DSP service and audio units. - /// + /// /// # Errors - /// + /// /// This function will return an error if an instance of the `Ndsp` struct already exists /// or if there are any issues during initialization. pub fn init() -> crate::Result {