some clippy fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-09-11 12:06:59 +02:00
parent ef0338d497
commit 653b1ca10e
14 changed files with 34 additions and 35 deletions

View File

@ -104,7 +104,7 @@ impl ProcessLocker {
.open(lockfile)?;
Ok(Arc::new(Mutex::new(Self {
file: file,
file,
exclusive: false,
writers: 0,
next_guard_id: 0,