From 8d6aa199bb93e9f6a0077d526ffe0dd799d577f7 Mon Sep 17 00:00:00 2001 From: theMackabu Date: Fri, 24 May 2024 00:41:32 -0700 Subject: [PATCH] fix ptr typo (linux) --- src/process/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process/unix.rs b/src/process/unix.rs index 9f1cb98..4cd5089 100644 --- a/src/process/unix.rs +++ b/src/process/unix.rs @@ -19,7 +19,7 @@ unsafe fn environ() -> *mut *const *const libc::c_char { extern "C" { static mut environ: *const *const libc::c_char; } - ptr::addr_of_mut!(environ) + std::ptr::addr_of_mut!(environ) } pub fn env() -> Vec { -- GitLab