Skip to content

Commit c3df0ae

Browse files
committed
x.py fmt
1 parent 9bb11ba commit c3df0ae

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

library/std/src/sys/unix/args.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,7 @@ mod imp {
125125
// Load ARGC and ARGV without a lock. If the store to either ARGV or
126126
// ARGC isn't visible yet, we'll return an empty argument list.
127127
let argv = ARGV.load(Ordering::Relaxed);
128-
let argc = if argv.is_null() {
129-
0
130-
} else {
131-
ARGC.load(Ordering::Relaxed)
132-
};
128+
let argc = if argv.is_null() { 0 } else { ARGC.load(Ordering::Relaxed) };
133129
(0..argc)
134130
.map(|i| {
135131
let cstr = CStr::from_ptr(*argv.offset(i) as *const libc::c_char);

0 commit comments

Comments
 (0)