diff --git a/src/crti/src/lib.rs b/src/crti/src/lib.rs
index 8071f05900..77e8f055da 100644
--- a/src/crti/src/lib.rs
+++ b/src/crti/src/lib.rs
@@ -27,7 +27,8 @@ global_asm!(
);
// https://git.musl-libc.org/cgit/musl/tree/crt/aarch64/crti.s
#[cfg(target_arch = "aarch64")]
-global_asm!(r#"
+global_asm!(
+ r#"
.section .init
.global _init
.type _init,%function
@@ -45,7 +46,8 @@ global_asm!(r#"
mov x29,sp
// stp: "stores two doublewords from the first and second argument to memory addressed by addr"
// Body will be filled in by gcc and ended by crtn.o
-"#);
+"#
+);
#[panic_handler]
#[linkage = "weak"]
diff --git a/src/crtn/src/lib.rs b/src/crtn/src/lib.rs
index 6704d357e9..b2d9608678 100644
--- a/src/crtn/src/lib.rs
+++ b/src/crtn/src/lib.rs
@@ -23,7 +23,8 @@ global_asm!(
);
// https://git.musl-libc.org/cgit/musl/tree/crt/aarch64/crtn.s
#[cfg(target_arch = "aarch64")]
-global_asm!(r#"
+global_asm!(
+ r#"
.section .init
// This happens after crti.o and gcc has inserted code
// ldp: "loads two doublewords from memory addressed by the third argument to the first and second"
@@ -35,7 +36,8 @@ global_asm!(r#"
// ldp: "loads two doublewords from memory addressed by the third argument to the first and second"
ldp x29,x30,[sp],#16
ret
-"#);
+"#
+);
#[panic_handler]
#[linkage = "weak"]
diff --git a/src/header/stdio/lookaheadreader.rs b/src/header/stdio/lookaheadreader.rs
index 5c08d86751..91092f5af5 100644
--- a/src/header/stdio/lookaheadreader.rs
+++ b/src/header/stdio/lookaheadreader.rs
@@ -1,4 +1,4 @@
-use super::{fseek_locked, FILE, SEEK_SET, ftell_locked};
+use super::{fseek_locked, ftell_locked, FILE, SEEK_SET};
use crate::core_io::Read;
struct LookAheadBuffer {
buf: *const u8,
@@ -27,23 +27,22 @@ impl From<*const u8> for LookAheadBuffer {
}
}
-
struct LookAheadFile<'a> {
f: &'a mut FILE,
look_ahead: i64,
}
-impl <'a> LookAheadFile<'a> {
+impl<'a> LookAheadFile<'a> {
fn look_ahead(&mut self) -> Result