From 802ff0efb2e67cb9b499dc696070e43d89ab9f90 Mon Sep 17 00:00:00 2001 From: xxchan Date: Thu, 18 Apr 2024 15:05:28 +0000 Subject: [PATCH] lint Signed-off-by: xxchan --- src/storage/benches/bench_fs_operation.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/benches/bench_fs_operation.rs b/src/storage/benches/bench_fs_operation.rs index 0983883fdaa4..8d0b20987686 100644 --- a/src/storage/benches/bench_fs_operation.rs +++ b/src/storage/benches/bench_fs_operation.rs @@ -217,6 +217,7 @@ fn gen_std_files(path: &Path) -> impl IntoIterator { .read(true) .write(true) .create(true) + .truncate(true) .open(file_path) .unwrap(); ret