From 7f77a1d9b889508e7894bf90e3f0386f13c1aaf3 Mon Sep 17 00:00:00 2001 From: thesebas Date: Mon, 16 Dec 2024 14:15:51 +0100 Subject: [PATCH] formatting --- src/utils.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index b3244aa4..28f899a6 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,7 +1,12 @@ use log::trace; use std::env; -#[cfg(any(target_os = "freebsd", target_os = "linux", target_os = "openbsd", target_os = "android"))] +#[cfg(any( + target_os = "freebsd", + target_os = "linux", + target_os = "openbsd", + target_os = "android" +))] fn get_shell_ffi() -> Option { use libc::{geteuid, getpwuid_r}; use std::{ffi::CStr, mem, ptr};