Skip to content

Commit

Permalink
are you happy fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanPleshkov committed Jan 16, 2024
1 parent 3148553 commit 12a9718
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,12 @@ impl Wal {
let close_segment_files: HashMap<_, _> = self
.closed_segments
.iter()
.map(|segment| (segment.segment.path().file_name().unwrap(), &segment.segment))
.map(|segment| {
(
segment.segment.path().file_name().unwrap(),
&segment.segment,
)
})
.collect();

for entry in fs::read_dir(self.path())? {
Expand Down

0 comments on commit 12a9718

Please sign in to comment.