about summary refs log tree commit diff
path: root/library/std/src/sys/pal/trusty/stdio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/trusty/stdio.rs')
-rw-r--r--library/std/src/sys/pal/trusty/stdio.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/trusty/stdio.rs b/library/std/src/sys/pal/trusty/stdio.rs
index 3f7c9f76e71..d393e95394d 100644
--- a/library/std/src/sys/pal/trusty/stdio.rs
+++ b/library/std/src/sys/pal/trusty/stdio.rs
@@ -59,8 +59,7 @@ pub fn panic_output() -> Option<impl io::Write> {
 }
 
 fn _write(fd: i32, message: &[u8]) -> io::Result<usize> {
-    let mut iov =
-        libc::iovec { iov_base: message.as_ptr() as *mut _, iov_len: message.len() };
+    let mut iov = libc::iovec { iov_base: message.as_ptr() as *mut _, iov_len: message.len() };
     loop {
         // SAFETY: syscall, safe arguments.
         let ret = unsafe { libc::writev(fd, &iov, 1) };