Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol authored and Mark-Simulacrum committed Apr 3, 2024
1 parent 2a469a5 commit 72d51f4
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 72d51f4

Please sign in to comment.