chore(file_store): explicitly state that we truncate file for create_new
This makes clippy happy.
This commit is contained in:
parent
c01983d02a
commit
ec1c5f4cf8
@ -64,6 +64,7 @@ where
|
|||||||
.create(true)
|
.create(true)
|
||||||
.read(true)
|
.read(true)
|
||||||
.write(true)
|
.write(true)
|
||||||
|
.truncate(true)
|
||||||
.open(file_path)?;
|
.open(file_path)?;
|
||||||
f.write_all(magic)?;
|
f.write_all(magic)?;
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user