Skip to content

Commit

Permalink
Merge pull request #99 from cita-cloud/fix_warn
Browse files Browse the repository at this point in the history
fix clippy warn
  • Loading branch information
rink1969 authored Mar 26, 2024
2 parents 371b65d + dd6b130 commit dee46d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ impl RaftStorage {
.create(true)
.read(true)
.write(true)
.truncate(true)
.open(&entry_path)
.await
.unwrap();
Expand Down Expand Up @@ -263,6 +264,7 @@ impl RaftStorage {
.create(true)
.read(true)
.write(true)
.truncate(true)
.open(&snapshot_path)
.await
.unwrap();
Expand Down

0 comments on commit dee46d0

Please sign in to comment.