Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Apr 3, 2024
1 parent b3c1249 commit c882cad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ impl Context {
.read(true)
.write(true)
.create(true)
.truncate(true)
.open(self.work.join(".lock"))?;
file.try_lock_exclusive()?;
Ok(file)
Expand Down

0 comments on commit c882cad

Please sign in to comment.