From 12a9718f6531c782346c666a3703d874aca7a3d1 Mon Sep 17 00:00:00 2001 From: Ivan Pleshkov Date: Tue, 16 Jan 2024 00:01:11 +0000 Subject: [PATCH] are you happy fmt --- src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 55646ce..a3c7f4a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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())? {