From 8328721b5b0a66ccf792000fb30bffe37dc54761 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Fri, 28 Jul 2023 18:17:22 +0200 Subject: [PATCH] Fmt --- ctru-rs/examples/touch-screen.rs | 2 +- ctru-rs/src/services/gfx.rs | 4 ++-- ctru-rs/src/services/ndsp/wave.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ctru-rs/examples/touch-screen.rs b/ctru-rs/examples/touch-screen.rs index 135de2b..fe2409d 100644 --- a/ctru-rs/examples/touch-screen.rs +++ b/ctru-rs/examples/touch-screen.rs @@ -34,7 +34,7 @@ fn main() { if touch != old_touch { // Move the cursor back to the top of the screen and print the coordinates. print!("\x1b[1;1HTouch Screen position: {:#?}", touch); - + // Special case for when the user lifts the stylus/finger from the screen. // This is done to avoid some screen tearing. if touch == (0, 0) { diff --git a/ctru-rs/src/services/gfx.rs b/ctru-rs/src/services/gfx.rs index e1b27c7..2769c85 100644 --- a/ctru-rs/src/services/gfx.rs +++ b/ctru-rs/src/services/gfx.rs @@ -104,9 +104,9 @@ pub trait Swap: private::Sealed { fn swap_buffers(&mut self); /// Set whether to use double buffering. - /// + /// /// # Notes - /// + /// /// Double buffering is enabled by default. /// [`Swap::swap_buffers`] must be called after this function for the configuration /// change to take effect. diff --git a/ctru-rs/src/services/ndsp/wave.rs b/ctru-rs/src/services/ndsp/wave.rs index 9171278..1a383ca 100644 --- a/ctru-rs/src/services/ndsp/wave.rs +++ b/ctru-rs/src/services/ndsp/wave.rs @@ -154,7 +154,7 @@ impl Wave { /// Set the amount of samples to be read. /// /// # Note - /// + /// /// /// This function doesn't resize the internal buffer. Operations of this kind are particularly useful to allocate memory pools /// for VBR (Variable BitRate) formats, like OGG Vorbis.