diff --git a/ctru-rs/examples/gfx_wide_mode.rs b/ctru-rs/examples/gfx_wide_mode.rs
index e7a289c..67b8efb 100644
--- a/ctru-rs/examples/gfx_wide_mode.rs
+++ b/ctru-rs/examples/gfx_wide_mode.rs
@@ -1,10 +1,10 @@
 extern crate ctru;
 
 use ctru::console::Console;
-use ctru::Gfx;
 use ctru::gfx::Screen;
-use ctru::services::{Apt, Hid};
 use ctru::services::hid::KeyPad;
+use ctru::services::{Apt, Hid};
+use ctru::Gfx;
 
 fn main() {
     ctru::init();
@@ -19,7 +19,7 @@ fn main() {
         hid.scan_input();
 
         if hid.keys_down().contains(KeyPad::KEY_START) {
-            break
+            break;
         }
 
         if hid.keys_down().contains(KeyPad::KEY_A) {
@@ -30,4 +30,4 @@ fn main() {
         gfx.swap_buffers();
         gfx.wait_for_vblank();
     }
-}
\ No newline at end of file
+}
diff --git a/ctru-rs/src/services/fs.rs b/ctru-rs/src/services/fs.rs
index 848e8a5..9f3334a 100644
--- a/ctru-rs/src/services/fs.rs
+++ b/ctru-rs/src/services/fs.rs
@@ -427,7 +427,10 @@ impl File {
                     crate::Error::from(r),
                 ))
             } else {
-                Ok(Metadata { attributes: 0, size })
+                Ok(Metadata {
+                    attributes: 0,
+                    size,
+                })
             }
         }
     }
@@ -922,10 +925,8 @@ unsafe fn read_to_end_uninitialized(r: &mut dyn Read, buf: &mut Vec<u8>) -> IoRe
             buf.reserve(1);
         }
 
-        let buf_slice = slice::from_raw_parts_mut(
-            buf.as_mut_ptr().add(buf.len()),
-            buf.capacity() - buf.len(),
-        );
+        let buf_slice =
+            slice::from_raw_parts_mut(buf.as_mut_ptr().add(buf.len()), buf.capacity() - buf.len());
 
         match r.read(buf_slice) {
             Ok(0) => {
diff --git a/ctru-rs/src/services/mod.rs b/ctru-rs/src/services/mod.rs
index 8a179b4..7a0e194 100644
--- a/ctru-rs/src/services/mod.rs
+++ b/ctru-rs/src/services/mod.rs
@@ -1,10 +1,10 @@
 pub mod apt;
 pub mod fs;
-pub mod hid;
 pub mod gspgpu;
+pub mod hid;
 pub mod soc;
 pub mod sslc;
 
-pub use self::hid::Hid;
 pub use self::apt::Apt;
+pub use self::hid::Hid;
 pub use self::sslc::SslC;