From dc443a8cc3ee9869487cea89fbf83d168bac6ce5 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Fri, 13 Jul 2018 09:53:44 -0600 Subject: [PATCH] Format --- src/stdio/src/helpers.rs | 2 +- src/stdlib/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stdio/src/helpers.rs b/src/stdio/src/helpers.rs index de3d485f..f8881627 100644 --- a/src/stdio/src/helpers.rs +++ b/src/stdio/src/helpers.rs @@ -1,7 +1,7 @@ use super::constants::*; use super::{BUFSIZ, FILE, UNGET}; -use core::sync::atomic::AtomicBool; use core::mem; +use core::sync::atomic::AtomicBool; use errno; use fcntl::*; use platform; diff --git a/src/stdlib/src/lib.rs b/src/stdlib/src/lib.rs index b5e3fdc8..6d0a921b 100644 --- a/src/stdlib/src/lib.rs +++ b/src/stdlib/src/lib.rs @@ -800,7 +800,7 @@ pub unsafe extern "C" fn system(command: *const c_char) -> c_int { "sh\0".as_ptr(), "-c\0".as_ptr(), command_nonnull, - ptr::null() + ptr::null(), ]; unistd::execv(shell as *const c_char, args.as_ptr() as *const *mut c_char); -- GitLab