Skip to content

Commit ec1c5f4

Browse files
committed
chore(file_store): explicitly state that we truncate file for create_new
This makes clippy happy.
1 parent c01983d commit ec1c5f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/file_store/src/store.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ where
6464
.create(true)
6565
.read(true)
6666
.write(true)
67+
.truncate(true)
6768
.open(file_path)?;
6869
f.write_all(magic)?;
6970
Ok(Self {

0 commit comments

Comments
 (0)