chore(file_store): explicitly state that we truncate file for create_new

This makes clippy happy.
This commit is contained in:
志宇
2024-03-22 07:41:17 +08:00
parent c01983d02a
commit ec1c5f4cf8

View File

@@ -64,6 +64,7 @@ where
.create(true)
.read(true)
.write(true)
.truncate(true)
.open(file_path)?;
f.write_all(magic)?;
Ok(Self {