aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/daemon.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/daemon.rs')
-rw-r--r--alacritty/src/daemon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/daemon.rs b/alacritty/src/daemon.rs
index df66646a..c8fb88d1 100644
--- a/alacritty/src/daemon.rs
+++ b/alacritty/src/daemon.rs
@@ -94,7 +94,7 @@ pub fn foreground_process_path(
}
#[cfg(not(any(target_os = "macos", target_os = "freebsd")))]
- let link_path = format!("/proc/{}/cwd", pid);
+ let link_path = format!("/proc/{pid}/cwd");
#[cfg(target_os = "freebsd")]
let link_path = format!("/compat/linux/proc/{}/cwd", pid);