diff options
author | initard <solo@softwareag.com> | 2022-06-15 09:46:31 +0100 |
---|---|---|
committer | initard <solo@softwareag.com> | 2022-06-16 15:18:10 +0100 |
commit | 5104d2a5ee64b0ace407a6b26ff3a21ea31d2750 (patch) | |
tree | e2390a1001947fd46670761193cf6b9f65202d70 | |
parent | 39b4523cd3f795f45cfeb38d823f437432ee9d34 (diff) |
flockfile fixing clippy warnings #825
Signed-off-by: initard <solo@softwareag.com>
-rw-r--r-- | crates/common/flockfile/src/unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/common/flockfile/src/unix.rs b/crates/common/flockfile/src/unix.rs index 2efaa316..4ef847d2 100644 --- a/crates/common/flockfile/src/unix.rs +++ b/crates/common/flockfile/src/unix.rs @@ -108,7 +108,7 @@ impl AsRef<Path> for Flockfile { /// Check `run_dir`/lock/ for a lock file of a given `app_name` pub fn check_another_instance_is_not_running( app_name: &str, - run_dir: &PathBuf, + run_dir: &Path, ) -> Result<Flockfile, FlockfileError> { match Flockfile::new_lock( run_dir |