Skip to content

Commit 72d51f4

Browse files
KobzolMark-Simulacrum
authored andcommitted
Fix clippy
1 parent 2a469a5 commit 72d51f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ impl Context {
8989
.read(true)
9090
.write(true)
9191
.create(true)
92+
.truncate(true)
9293
.open(self.work.join(".lock"))?;
9394
file.try_lock_exclusive()?;
9495
Ok(file)

0 commit comments

Comments
 (0)