Skip to content

Commit 31f4677

Browse files
committed
Fix a minor clippy lint.
1 parent 7d3f653 commit 31f4677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/relocate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ unsafe fn compute_auxp(envp: *mut *mut u8) -> *const Elf_auxv_t {
374374
// that would involve calling a function in another crate.
375375
let mut auxp = envp;
376376
// Don't use `is_null` because that's not `inline(always)`.
377-
while (*auxp) != null_mut() {
377+
while *auxp != null_mut() {
378378
auxp = auxp.add(1);
379379
}
380380
auxp.add(1).cast()

0 commit comments

Comments
 (0)